News for hackers. Stuff that matters.
Re:Why Databases Are Not for Docker Containers by user5994461 on Monday February 06, 2017 @07:11PM (#13585702)
> Why is a process running within a container failing over more frequently than a process running directly on bare metal

Because the way to change anything in a container is to kill it and restart it. That's a fundamental difference compared to managing/maintaining a database not in a container.

Re:Why Databases Are Not for Docker Containers by subway on Monday February 06, 2017 @07:38PM (#13585849)
Unless you've written very poorly behaving software, you kill it by sending it a SIGTERM, and waiting for it to exit. This is true of software both within and outside of containers.

The fact `docker kill` defaults to using SIGKILL instead of SIGTERM is unfortunate, and something one should be aware of before deploying a process with docker, but again, this does not make the process running within the container inherently less reliable.

edit: Looks like `docker stop` does the right-ish thing -- sends a SIGTERM, then only resorts to SIGKILL after a timeout has expired.

Re:Why Databases Are Not for Docker Containers by brazzledazzle on Tuesday February 07, 2017 @07:55AM (#13589016)
Also worth noting that the timeout is a configurable parameter with `docker stop`.
Re:Why Databases Are Not for Docker Containers by ec109685 on Monday February 06, 2017 @10:42PM (#13586807)
You don't have operate your container like that. If you need to push configuration to it, you can make it writeable.