古城热线 发表于 2019-2-19 07:33:48

ubuntu14.04/16.04安装docker

  sudo apt-get update
sudo 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 -
sudo add-apt-repository "deb http://mirrors.aliyun.com/docker-ce/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get -y update
apt -y install docker-ce=17.03.1~ce-0~ubuntu-xenial
systemctl start docker



页: [1]
查看完整版本: ubuntu14.04/16.04安装docker