4 ms·
Then why would you run it in a container? You're not encapsulating anything or making anything portable of the interesting part of the container is a directory
by superuser2 10y ago
Then why would you run it in a container? You're not encapsulating anything or making anything portable of the interesting part of the container is a directory on the host.
- therealmarv 10y agoYou can make the whole binary/running part interchangeable... think of OS updates, Postgres updates etc. just replace the container with a new one.
- superuser2 10y ago>just Why is building, distributing, and cutting over to a new container easier than "sudo apt-get upgrade postgres"?
- therealmarv 10y agoNobody said it's easier. But it's definitely more decoupled with a more well defined and reproducable binary image state which you can spin up and shut down in large scale easier. Nobody is saying that this is something you, your Postgres or most people need. Over 10+ million Docker hub pulls of the Postgres images saying there is a use case of using Postgres Docker images.