Sign inSign up

jack12816/docker

By jack12816

Updated over 9 years ago

Docker in Docker! (patched to support DOCKER_DAEMON_ARGS)

Image
0

1.8K

jack12816/docker repository overview

Because of: https://github.com/docker-library/docker/pull/12 Dockerfile: https://github.com/Jack12816/docker-dind


This is image is dedicated to the missing DOCKER_DAEMON_ARGS environment variable support on the official docker image. The image is based on it and just adds this support.

Custom daemon flags

Via entrypoint arguments
$ docker run --privileged \
  --name some-devicemapper-docker \
  -d jack12816/docker:dind --storage-driver=devicemapper
Via environment vairable
$ docker run  --privileged \
  --name some-devicemapper-docker \
  -e DOCKER_DAEMON_ARGS=--registry-mirror=http://mymirror:6000 \
  -d jack12816/docker:dind

There is a new DOCKER_DAEMON_STORAGE environment variable. With the help of this you can easily change the storage driver. It defaults to vfs like the original image.

Tag summary

Content type

Image

Digest

Size

32.3 MB

Last updated

over 9 years ago

docker pull jack12816/docker:dind