1、docker离线安装的方式基本就是准备rpm包安装即可。
2、准备的rpm包有:
container-selinux-2.119.2-1.911c772.el7_8.noarch.rpm containerd.io-1.6.8-3.1.el7.x86_64.rpm docker-ce-cli-19.03.15-3.el7.x86_64.rpm docker-ce-19.03.15-3.el7.x86_64.rpm
3、下载地址
https://mirrors.aliyun.com/docker-ce/linux/centos/7/x86_64/stable/Packages/(docker-ce的相关下载)
https://mirrors.aliyun.com/centos/7/extras/x86_64/Packages/(container-selinux下载)
4、安装,安装顺序为
1、container-selinux-2.119.2-1.911c772.el7_8.noarch.rpm 2、containerd.io-1.6.8-3.1.el7.x86_64.rpm 3、docker-ce-cli-19.03.15-3.el7.x86_64.rpm 4、docker-ce-19.03.15-3.el7.x86_64.rpm
5、安装命令
rpm -ivh *.rpm
6、查询和卸载命令
rpm -qa| grep <name> rpm -e --nodeps <query-result>
标签:x86,rpm,离线,ce,64,docker,安装,el7 From: https://www.cnblogs.com/ll409546297/p/16824367.html