ubuntu14.04安装docker

sudo apt-get install apt-transport-https
# Add the Docker repository key to your local keychain
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
# Add the Docker repository to your apt sources list.
sudo sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list"
# update your sources list
sudo apt-get update
# install
apt-get install -y lxc-docker
posted @ 2016-08-09 00:13  会打篮球的猪  阅读(140)  评论(0编辑  收藏  举报