1.//Docker要求系统内核版本高于3.10,查看Linux内核
uname -r

2.//使用以下命令更新apt包索引
sudo apt-get update

3.//安装以下包以允许apt通过HTTPS使用存储库
sudo apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common

4.//添加Docker的官方GPG密钥并载入密钥,载入密钥后会提示OK
wget https://download.docker.com/linux/debian/gpg
sudo apt-key add gpg

5.//添加软件源
sudo vim /etc/apt/sources.list
deb https://download.docker.com/linux/debian stretch stable

6.//更新apt包索引
sudo apt-get update

7.//安装最新版本的Docker CE和containerd
sudo apt-get install docker-ce docker-ce-cli containerd.io

8.//使用docker version查看是否安装成功
【deepin】deepin安装docker

 

 

 

相关文章:

  • 2021-09-29
  • 2021-12-04
  • 2021-12-04
  • 2021-04-25
  • 2021-04-27
  • 2021-10-14
  • 2021-04-13
  • 2021-09-22
猜你喜欢
  • 2021-07-26
  • 2022-02-02
  • 2022-12-23
  • 2022-12-23
  • 2021-12-09
  • 2021-08-07
  • 2021-11-20
相关资源
相似解决方案