Oracle Cloud RHEL 7.9 安装ARM docker


因为REHL版只支持s390x (IBM Z),所以需要安装CentOS的
We currently only provide packages for RHEL on s390x (IBM Z). Other architectures are not yet supported for RHEL, but you may be able to install the CentOS packages on RHEL. Refer to the Install Docker Engine on CentOS page for details.

检查并更新包
yum -y update

安装需要的软件包, yum-util 提供yum-config-manager功能,另两个是devicemapper驱动依赖
yum install -y yum-utils device-mapper-persistent-data lvm2

设置添加 yum 源
yum-config-manager --add-repo http://download.docker.com/linux/centos/docker-ce.repo(中央仓库) yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo(阿里仓库)

查看可用版本
yum list docker-ce --showduplicates | sort -r

试了可以安装18.06.1.ce-3.el7
sudo yum install docker-ce-18.06.1.ce-3.el7 docker-ce-cli-18.06.1.ce-3.el7 containerd.io

安装之后查看安装版本
docker --version

启动docker
sudo systemctl start docker

设置开机启动
sudo systemctl enable docker

参考> https://cloud.tencent.com/developer/article/1701451


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM