Closed itang closed 10 years ago
参考 http://docs.docker.io/en/latest/installation/ubuntulinux/
ubuntu 13.04 13.10
Optional AUFS filesystem support Ubuntu Raring already comes with the 3.8 kernel, so we don’t need to install it, 其他版本你可以这么做:
$ sudo apt-get update $ sudo apt-get install linux-image-extra-uname -r
uname -r
First add the Docker repository key to your local keychain.
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
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
test
sudo docker run -i -t ubuntu /bin/bash
sudo groupadd docker
$ sudo apt-get update
$ sudo apt-get install lxc-docker
参考
install
参考 http://docs.docker.io/en/latest/installation/ubuntulinux/
ubuntu 13.04 13.10
Optional AUFS filesystem support Ubuntu Raring already comes with the 3.8 kernel, so we don’t need to install it, 其他版本你可以这么做:
$ sudo apt-get update $ sudo apt-get install linux-image-extra-
uname -r
First add the Docker repository key to your local keychain.
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
sudo sh -c "echo deb http://get.docker.io/ubuntu docker main\
sudo apt-get update
sudo apt-get install lxc-docker
test
sudo docker run -i -t ubuntu /bin/bash
sudo groupadd docker
$ sudo apt-get update
$ sudo apt-get install lxc-docker