File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ sudo yum install -y yum-utils
2727sudo yum-config-manager --add-repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
2828```
2929
30- 3 . 安装 docker 引擎
30+ 3 . 安装 docker 引擎(25 年 7 月靠后不能直接复制,请看下方的更新注意进行安装)
3131
3232``` bash
3333sudo yum install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
@@ -41,6 +41,24 @@ sudo yum install docker-ce docker-ce-cli containerd.io docker-buildx-plugin dock
4141
4242> 输入两次 y 确认即可等待安装成功
4343
44+ ### 更新需知
45+
46+ ** 2025-08-06 更新:若出现 ` containerd.io-1.6.33-3.1.el7.x86_64: [Errno 256] No more mirrors to try. ` 的错误,需按照以下步骤操作**
47+
48+ ``` bash
49+ yum -y install containerd.io-1.6.18
50+ ```
51+
52+ ` containerd.io ` 这个最新版本的镜像文件虽然标记了 ` el7 ` 但是其实和 Centos7/RHEL7 是不适配的,需要** 降低版本**
53+
54+ 而与此版本适配的 ` docker-ce ` 的版本如下:
55+
56+ ``` bash
57+ yum -y install docker-ce-24.0.5 docker-ce-cli-24.0.5
58+ ```
59+
60+ 解决方案的出处来自:https://blog.csdn.net/avatar_2009/article/details/149273277
61+
4462## Docker 启动配置
4563
46641 . 启动 docker
You can’t perform that action at this time.
0 commit comments