title: docker-compose inside Alpine container
body: <p>I'm attempting to bundle my app (code, Dockerfiles and a docker-compose script) together inside a single image for easy deployment (entrypoint will just <code>docker-compose up</code>). My Dockerfile for this top level app image looks like so</p>
  
  <pre><code>FROM alpine:latest
  COPY . /app
  RUN apk update &amp;&amp; apk add --no-cache docker py-pip openrc &amp;&amp; pip install docker-compose
  </code></pre>
  
  <p>When I run this image, it seems that dockerd hasn't started, being absent from <code>top</code> results; <code>docker ps</code> reports "Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
  ". If however I do <code>service docker start</code>, this returns " * WARNING: docker is already starting". Is there anything special I need to do to get Docker working side of an Alpine container?</p>