在统信系统上安装docker-ce, 一般官方源只有docker-engine,对于基于yum源管理的系统, 需要配置使用centos源来安装docker-ce

  1. 访问https://mirrors.aliyun.com/centos/, 发现在阿里源当中, 只有centos8提供了aarch64架构源, 所以需要配置8版本
  2. 阿里repo源地址: https://mirrors.aliyun.com/repo/

一。 首先配置阿里镜像源

其中Centos-8.repo也可以换成Centos-vault-8.5.2111的源:

 

定义 yum 变量&修改 repo
修改 centos 和 docker repo文件中的 $releasever 为 centos_version ,原因是在统信服务器操作系统中 $releasever被修改为了 10,而我们需要使用 centos 8的镜像源,如果你不替换,基本上仓库的每一个地址都是404。

yum makecache
安装docker:
yum install docker-ce-20.10.17 docker-ce-cli-20.10.17 containerd.io-1.6.7
Categories: KUBERNETES

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *