How to let docker run some processes automatically when start a container

Hi,

I want to let docker run some processes automatically when i start the container, do you know how to change the docker init?

You probably want to read the http://docs.docker.com/reference/builder/#entrypoint documentation