4 ms·
The big thing with Docker containers is that you don't patch or update them. You include patches in the build process that produces a patched image. You then t
by auspex 9y ago
The big thing with Docker containers is that you don't patch or update them.
You include patches in the build process that produces a patched image. You then tear down your containers and deploy the new image.
One of the main benefits is once you have a proper pipeline setup you just modify your Dockerfile commit it to git, the build happens automatically and then it's automatically deployed once the new image is checked in to the repo.
Now the all your containers are "magically" patched. Imagine having to patch a CVE in each of your VMs. Quite different.
VMs are pets. Containers are cattle.
- scarlac 9y ago> VMs are pets. Containers are cattle. That's the funniest yet most accurate down-to-earth analogy I've heard so far that explains the mentality of Docker/containers. While funny, it's actually practical to have an analogy when explaining newcomers what Docker does to the mentality of server/service management. Thanks.