ubuntu16.04下安装docker

#sudo apt-get remove docker docker-engine docker-ce docker.io

#sudo apt-get update

#sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common

#curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

#sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"

#sudo apt-get update

#sudo apt-get install -y docker-ce

#systemctl status docker

#sudo systemctl restart docker

#vim /etc/docker/daemon.json
{
"registry-mirrors": ["https://registry.docker-cn.com"]
}

 

#apt -y install python-pip

#pip install docker-compose

#pip install --upgrade pip

 

posted @ 2018-10-12 16:25  bboke  阅读(137)  评论(0编辑  收藏  举报