type
status
date
slug
summary
tags
category
icon
password
因为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://blog.zhcn.xyz/article/Oracle%20Cloud%20RHEL%207.9%20%E5%AE%89%E8%A3%85ARM%20docker
- 声明:本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。
相关文章