├── Dockerfile └── README.md /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM progrium/busybox 2 | MAINTAINER Jeff Lindsay 3 | 4 | ADD https://get.docker.io/builds/Linux/x86_64/docker-1.2.0 /bin/docker 5 | RUN chmod +x /bin/docker 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # progrium/docker 2 | 3 | 32 MB container with the Docker binary. Pass it a socket and use Docker inside Docker. 4 | 5 | ## Example 6 | 7 | $ docker run -d -v /var/run/docker.sock:/var/run/docker.sock progrium/docker \ 8 | /bin/sh -c 'docker rmi $(docker images -q -f dangling=true)' 9 | 10 | 11 | ## License 12 | 13 | BSD --------------------------------------------------------------------------------