1. Home
  2. Docs
  3. docker
  4. docker docker-compose介绍&安装&更新

docker docker-compose介绍&安装&更新

阿里云源安装

$ sudo apt-get update

$ sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common

$?sudo curl -fsSL http://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo apt-key add -

$?sudo add-apt-repository deb [arch=amd64] http://mirrors.aliyun.com/docker-ce/linux/ubuntu $(lsb_release -cs) stable

$ sudo apt-get update

$ sudo apt-get install docker-ce docker-ce-cli containerd.io

更新版本

卸载 sudo apt-get purge docker-ce 覆盖安装

官网-卸载安装

相关资料

官网安装文档阿里云源安装

Was this article helpful to you? Yes 1 No

How can we help?