Ubuntu 16.4安装docker-ce

【内核】:4.4.0-66-generic

1.安装基础软件

 apt-get -y install apt-transport-https ca-certificates curl

3.添加apt源

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
apt-get update

3.安装docker-ce

apt-get -y install docker-ce


欢迎留言