Public | Automated Build

Last pushed: 3 years ago
Short Description
docker inside docker
Full Description


This runs Docker inside Docker.

Dockerhub: thstangenberg/docker


Exposed volumes

  • /var/lib/docker - docker files

Exposed ports

  • 22 / SSH
  • 2375 / Docker

Environment Variables

  • DOCKER_DEBUG - Enable docker debug mode, valid options (true, false), default is false
  • DOCKER_API_CORS - Enable docker CORS headers in the remote API, valid options (true, false), default is false
  • DOCKER_LOG_LEVEL - Set the docker logging level, valid options (debug, info, warn, error, fatal), default is info


This container runs docker inside docker. It's required to run with the --privileged option.

docker run --name docker --privileged thstangenberg/docker


Make is used as build system.

  • make / starts normal docker build.
  • make run / build and run the container. This uses imagename as container name and automatically stops a running container with an equal name beforehand.
  • make bash / build, run the container and start a bash prompt.
  • make ncbuild / normal build without using the docker cache ( --no-cache ).

Docker Build Reference


Published under the MIT License

Docker Pull Command
Source Repository