ubuntu16.04下安装docker

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

#sudo apt-get updatelinux

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

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

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

#sudo apt-get updatevim

#sudo apt-get install -y docker-cecurl

#systemctl status dockerurl

#sudo systemctl restart dockerrest

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

 

#apt -y install python-pip

#pip install docker-compose

#pip install --upgrade pip