银河麒麟v10 server版本 对标 centos 7
嵌入式arm架构的
Linux 192-168-210-188 4.19.90-23.20.v2101.ky10.aarch64 #1 SMP Fri Feb 18 14:29:46 CST 2022 aarch64 aarch64 aarch64 GNU/Linux
1.为银河麒麟系统配置阿里云的yum源
cat CentOS-Base.repo
[base]
name=CentOS-7 - Base
baseurl=https://mirrors.aliyun.com/centos-altarch/7/os/$basearch/
gpgcheck=0
gpgkey=https://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7
#released updates
[updates]
name=CentOS-7 - Updates
baseurl=https://mirrors.aliyun.com/centos-altarch/7/updates/$basearch/
gpgcheck=0
gpgkey=https://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7
#additional packages that may be useful
[extras]
name=CentOS-7 - Extras
baseurl=https://mirrors.aliyun.com/centos-altarch/7/extras/$basearch/
gpgcheck=0
gpgkey=https://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7
enabled=1
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-7 - Plus
baseurl=https://mirrors.aliyun.com/centos-altarch/7/centosplus/$basearch/
gpgcheck=0
enabled=0
gpgkey=https://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7
2.为银河麒麟系统配置阿里云docker-ce源
cat docker-ce.repo
[docker-ce-stable]
name=Docker CE Stable - $basearch
baseurl=https://mirrors.aliyun.com/docker-ce/linux/centos/7/$basearch/stable
enabled=1
gpgcheck=0
gpgkey=https://mirrors.aliyun.com/docker-ce/linux/centos/gpg
3.更新缓存
yum clean all
yum makecache
4.安装docker-ce
yum install docker-ce -y
yum install docker-compose -y
5.启动服务
systemctl start docker
systemctl status docker
systemctl enable docker