1. 安装docker(deepin)
官方文档:https://docs.docker.com/get-started/overview/
系统:deepin20 (ubuntu 18.04、20.04和debian通用)
RHEL系列需要使用编译安装的方式;
(离线安装方式搜索引擎关键字: docker 离线安装)
# 卸载旧版本sudo apt-get remove docker docker-engine docker.io containerd runc# 获取下载密钥(中科大的)curl -fsSL https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu/gpg | sudo apt-key add -# 设置中科大apt docker源sudo add-apt-repository "deb [arch=amd64] https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu/ $(lsb_release -cs) stable"# 更新apt索引sudo apt-get update# 安装dockersudo apt-get install docker-ce docker-ce-cli containerd.io# 确认docker是否安装成功docker -v
