Last active
August 29, 2015 14:04
-
-
Save munro/41f434df4f1bcf117e31 to your computer and use it in GitHub Desktop.
Docker In Dock
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -v /var/run/docker.sock:/var/run/docker.sock -t -i ubuntu /bin/bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:trusty | |
MAINTAINER Ryan Munro <[email protected]> | |
RUN apt-get update -qq | |
RUN apt-get install -qqy apt-transport-https | |
RUN echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list | |
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 | |
RUN apt-get update -qq | |
RUN apt-get install -qqy lxc-docker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment