离线安装

安装

sudo rpm -ivh containerd.io-1.6.9-3.1.el7.x86_64.rpm docker-ce-24.0.2-1.el7.x86_64.rpm docker-ce-cli-24.0.2-1.el7.x86_64.rpm docker-ce-selinux-17.03.3.ce-1.el7.noarch.rpm docker-compose-plugin-2.18.1-1.el7.x86_64.rpm --force --nodeps
sudo systemctl start docker sudo systemctl enable docker sudo systemctl status docker.service
 
badge