News for hackers. Stuff that matters.
Re:Running Docker in production for 6 months by eggie5 on Friday November 11, 2016 @11:03AM (#12931827)
I keep hearing that you shouldn't containerize databases. What is the motivation behind this?
Re:Running Docker in production for 6 months by kossae on Friday November 11, 2016 @12:36PM (#12932622)
I still don't understand this theory. As stated above, containers have the option to mount volumes on the host file system. Anything written while the container running is immediately persisted, and if the container dies you just re-mount the volume and continue as normal.

To harden this even further, you can run clustered DB nodes in Docker (+<your_preferred_orchestration_tool>) quite easily. So with persisted data, multiple node replication, and server snapshots I'd be interested to know as well.

Re:Running Docker in production for 6 months by swap32 on Saturday November 12, 2016 @01:31AM (#12936899)