Run Docker inside Docker (aka. dind).
5.5K
Run Docker inside Docker
Link: mattgruter/doubledocker
This image needs privileged permissions. Don't forget to use the --privileged command line flag.
The AUFS filesystem at /var/lib/docker cannot sit ontop of another AUFS filesystem. The directory is therefore exported as a container volume.
The Docker daemon listens on the default socket and on port 2375.
To run the doubledocker container simply write:
docker run --privileged -P mattgruter/doubledocker
Running the Drone CI server inside a container.
Attempting to connect to the docker daemon from the outside fails:
Get http://localhost:49153/v1.12/containers/json: net/http: transport closed before response was received
Content type
Image
Digest
sha256:5bb332b0c…
Size
76.1 MB
Last updated
over 8 years ago
docker pull mattgruter/doubledocker