HACKER Q&A
📣 bcye

What's needed for a minimal production Docker deployment?


There's a lot of tutorials/books online about getting a basic server with docker running but seemingly few that cover everything that is needed for a true production deployment (or is simply nothing more needed?). I would be curious, if anyone can share a good resource for doing real single-server production Docker deployment on your own VPS. I.e. best practices for/how to:

- secure the server properly

- credential management

- making sure of security updates

- observability

- backups

- automatic deployments

- anything else that is needed

Many thanks for any pointers


  👤 dapperdrake Accepted Answer ✓
I didn’t like this piece of advice myself back when I got it, but it was worth it:

Start with introductory physical unix handbooks that cover user permissions, fork(2), and exec(2).

Oddly enough containers only add something like a git-fs-chroot and network-chroot on top. The principles are all still the same.

Like I said, I didn’t like this answer either until I read a few of the books.


👤 sawirricardo
i love unregistry, direct upload to your destination server https://github.com/psviderski/unregistry

👤 uaas
Kubernetes.