Ask HN: 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

3 points | by bcye 15 hours ago

2 comments

  • sawirricardo 1 hour ago
    i love unregistry, direct upload to your destination server https://github.com/psviderski/unregistry
  • dapperdrake 11 hours ago
    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.

    • bcye 7 hours ago
      Thank you, that does sound like a good start. Do you have a book you can recommend on this?