Skip to content

Instantly share code, notes, and snippets.

@hagix9
Created November 2, 2013 01:24
Show Gist options
  • Save hagix9/7274416 to your computer and use it in GitHub Desktop.
Save hagix9/7274416 to your computer and use it in GitHub Desktop.
UbuntuにDocker
#Ubuntu13.10
sudo sh -c "wget -qO- https://get.docker.io/gpg | apt-key add -"
sudo sh -c "echo deb http://get.docker.io/ubuntu docker main\
> /etc/apt/sources.list.d/docker.list"
sudo apt-get update
sudo apt-get install lxc-docker -y
sudo docker run -i -t centos /bin/bash
#Ubuntu13.04
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:dotcloud/lxc-docker -y
sudo apt-get update
sudo apt-get install lxc-docker -y
sudo docker run -i -t centos /bin/bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment