Ubuntu16.04安装docker-ce(阿里源)

版权声明: https://blog.csdn.net/u013531940/article/details/79705502
apt-get update
apt-get -y install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL http://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo apt-key add -
add-apt-repository "deb [arch=amd64] http://mirrors.aliyun.com/docker-ce/linux/ubuntu $(lsb_release -cs) stable"
apt-get -y update
apt-get -y install docker-ce

猜你喜欢

转载自blog.csdn.net/u013531940/article/details/79705502