官网目前的安装步骤在最新版本的Ubuntu17.10 上会提示没有安装源,下面是针对17.10 安装步骤:

参考资料

sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88

sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu zesty stable"

sudo apt-get update
sudo apt-get install docker-ce

与目前官网不同的地方在这里:

sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu zesty stable"

 

相关文章:

  • 2021-05-15
  • 2021-07-10
  • 2021-11-06
  • 2021-07-08
  • 2022-12-23
  • 2021-06-28
  • 2021-06-27
  • 2021-06-18
猜你喜欢
  • 2021-07-18
  • 2022-12-23
  • 2022-01-10
  • 2022-12-23
  • 2021-11-15
  • 2021-10-06
  • 2021-08-26
相关资源
相似解决方案