Kill processes inside docker container after daemon restart
Restarting docker daemon does not affect running processes inside container: they are still running, but
docker ps does not show any running containers. All these processes now have
/sbin/init as parent process (instead of
Is it possible to automatically kill all these processes whenever its parent process (
docker -d) is killed?