Created
April 1, 2016 08:45
-
-
Save bamthomas/8308226ef354a1405ad75f74a7016b13 to your computer and use it in GitHub Desktop.
ubuntu 14LTS with docker
This file contains hidden or 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:14.04 | |
RUN apt-get -y update && apt-get -y install apt-transport-https ca-certificates | |
RUN apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
RUN echo 'deb https://apt.dockerproject.org/repo ubuntu-trusty main' > /etc/apt/sources.list.d/docker.list | |
RUN apt-get -y update && apt-get -y install docker-engine |
This file contains hidden or 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 -d -v /var/run/docker.sock:/var/run/docker.sock -ti ubuntu-docker bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment