Kill processes inside docker container after daemon restart

I’m using docker 1.1.0 with default driver on ubuntu 14.04.

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 /usr/bin/docker -d).

  • How do I setup a docker image to dynamically pull app code from a repository?
  • Node.js zlib gzip buffer as “file” inside of archive
  • Elastic Beanstalk with Docker and Persistent Storage
  • Docker proxy with custom networks
  • Copy all project. Docker file command
  • Docker doesn't install correct on Mac
  • Is it possible to automatically kill all these processes whenever its parent process (docker -d) is killed?

  • How can I connect celery container to rabbitmq container when using --net=host?
  • kubernetes volume for node_modules
  • Find out which network interface belongs to docker container
  • How to access docker web app through ssh?
  • docker alpine postgres in compose not executing docker-entrypoint-initdb.d scripts
  • What's causing authentication error when pushing Docker image to Google Container Registry?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.