Skip to content

Comment on Locking down a fresh Linux server: What you actually need to do before bots find it

You are viewing one comment and its replies. View all comments · View the comment above

Comments

  • Exactly, you shouldnt add your user to Docker and you should run your Docker containers as your user or another limited user rather than the default root.

    Be very selective with whether you expose your docker socket to any container. I just give Beszel Read Only. Gives me container perfs and flags updates.

    For the update script, you can just make it a cron job. Id add that to the guide. A daily update and weekly backup cron job is my setup.

    4

Sign in to comment. Sign in