1 下载文件,将下载的文件保存到/data下
安装unzip
升级libseccomp2 到 2.5.1以上
2 安装docker
sudo mkdir /data/install
sudo mv /data/docker_install20231126_1804_amd64.zip /data/install
cd /data/install
sudo unzip docker_install20231126_1804_amd64.zip
sudo dpkg -i ./containerd.io_1.6.9-1_amd64.deb \
./docker-buildx-plugin_0.10.5-1~ubuntu.18.04~bionic_amd64.deb \
./docker-ce-cli_24.0.2-1~ubuntu.18.04~bionic_amd64.deb \
./docker-compose-plugin_2.6.0~ubuntu-bionic_amd64.deb \
./docker-ce_24.0.2-1~ubuntu.18.04~bionic_amd64.deb
sudo service docker start
sudo systemctl enable docker