Ubuntu安装说明(Deepin深度系统安装说明详见后面)

一.安装Docker的命令

sudo apt update
sudo apt install apt-transport-https ca-certificates curl gnupg software-properties-common

# ustc docker
curl -fsSL https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu $(lsb_release -cs) stable"

sudo apt update

sudo apt install docker-ce docker-ce-cli
sudo usermod -aG docker $USER

二.Deepin深度系统安装说明(深度系统15.11)

sudo apt update
sudo apt install apt-transport-https ca-certificates curl gnupg software-properties-common

# ustc docker
curl -fsSL https://mirrors.ustc.edu.cn/docker-ce/linux/debian/gpg | sudo apt-key add 
echo "deb [arch=amd64] https://mirrors.ustc.edu.cn/docker-ce/linux/debian stretch stable" | sudo tee /etc/apt/sources.list.d/docker.list

sudo apt update
 
sudo apt install docker-ce docker-ce-cli
sudo usermod -aG docker $USER



#深度系统查看基于的Debian版本
cat /etc/debian_version

#Debian发行版本
https://www.debian.org/releases/index.zh-cn.html

版权声明:本文为weixin_45175767原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。