News for hackers. Stuff that matters.
Re:Bi-Directional Replication for PostgreSQL v1.0 by superuser2 on Friday August 12, 2016 @10:57AM (#12276209)
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.
Re:Bi-Directional Replication for PostgreSQL v1.0 by therealmarv on Friday August 12, 2016 @12:06PM (#12276711)
You can make the whole binary/running part interchangeable... think of OS updates, Postgres updates etc. just replace the container with a new one.
Re:Bi-Directional Replication for PostgreSQL v1.0 by superuser2 on Friday August 12, 2016 @05:10PM (#12278836)
>just

Why is building, distributing, and cutting over to a new container easier than "sudo apt-get upgrade postgres"?

Re:Bi-Directional Replication for PostgreSQL v1.0 by therealmarv on Friday August 12, 2016 @07:55PM (#12279549)
Nobody 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.