Skip to content

Instantly share code, notes, and snippets.

@bamthomas
Created April 1, 2016 08:45
Show Gist options
  • Save bamthomas/8308226ef354a1405ad75f74a7016b13 to your computer and use it in GitHub Desktop.
Save bamthomas/8308226ef354a1405ad75f74a7016b13 to your computer and use it in GitHub Desktop.
ubuntu 14LTS with docker
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
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