Docker Security on a Shared VPS
Why Docker bypasses your UFW rules, how to fix it, and container hardening practices that matter on a shared VPS.
Why Docker bypasses your UFW rules, how to fix it, and container hardening practices that matter on a shared VPS.
Configure UFW rules, build a fail2ban jail for Caddy access logs, and escalate bans for repeat offenders with the recidive jail.
Lock down SSH access with ed25519 keys, disable root login, and remove unused authentication methods.
Set up a DigitalOcean droplet from scratch: first SSH connection, deploy user, UFW baseline, and unattended upgrades.
A 10-post series covering the full lifecycle of a production Linux VPS — from first login to disaster recovery.
Run containers as non-root users, choose minimal base images, and keep secrets out of your Docker layers.
Learn what CORS is, why it’s essential for web security, and how to implement it properly in your applications.