Skip to content

Instantly share code, notes, and snippets.

@tolleiv
Created June 5, 2014 16:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tolleiv/9000f4a863639a31aacb to your computer and use it in GitHub Desktop.
Save tolleiv/9000f4a863639a31aacb to your computer and use it in GitHub Desktop.
Docker "client" (disbaled daemon) installation as a docker container
FROM ubuntu:12.04
RUN apt-get update
RUN [ -e /usr/lib/apt/methods/https ] || apt-get install -y apt-transport-https
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
RUN sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list"
RUN apt-get update
RUN apt-get install -y lxc-docker
RUN service docker stop
RUN update-rc.d -f docker remove
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment