title: How to bootstrap a docker container?
body: <p>I created a docker image with pre-installed packages in it (apache, mysql, memcached, solr, etc). Now I want to run a command in a container made from this image, and this command relies on all my packages. I want to have all of them started when I start a new container.</p>
  
  <p>I tried to use <code>/sbin/init</code>, but it <a href="https://github.com/dotcloud/docker/issues/223" rel="nofollow">doesn't work</a> in docker.</p>