Docker running inside Redis and Django, need to use Supervisor guard?
For example, I have a project with Redis and Django, and then I installed two containers, one installed Django, one loaded Redis, then I need to install Supervisor in each container to guard Django and Redis, if not guard, how Make sure it does not crash If the guardian, which are installed inside the two Supervisor if unified management? 2015-03-16 add comment share it
- Micro letter
Did not find the relevant results
Agree from: xqzhou , dockerlove123
Supervisor is primarily intended for use in multiple containers in a container. You should not need this. Docker starts with the
--restart=always parameter that can be used to ensure that the process crashes (the container is stopped) and then restarts.