在RHEL7上安装Docker CE 17.03 [英] install Docker CE 17.03 on RHEL7
问题描述
是否可以在RHEL7上以特定版本17.03安装DockerCE?
Is it possible to install DockerCE in the specific version 17.03 on RHEL7 ?
-
此处提供信息:
There is information here:
- https://docs.docker.com/engine/installation/linux/rhel/#install-using-the-repository 关于在RHEL上安装Docker的信息,但没有版本信息。
- https://docs.docker.com/engine/installation/linux/rhel/#install-using-the-repository about the installing Docker on RHEL but there is no version info.
,此处为Docker 17.03,但仅在Docker EE中不为 Docker CE
and here with Docker 17.03 but only in Docker EE not Docker CE
推荐答案
根据文档此处,您可以通过以下方式在RHEL 7.3 64位上安装Docker CE 17.03(或更高版本):
As per the documentation here, you can install Docker CE 17.03 (or future versions) on RHEL 7.3 64-bit via:
设置Docker CE RHEL上的存储库:
Set up the Docker CE repository on RHEL:
sudo yum install -y yum-utils
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum makecache fast
在RHEL上安装最新版本的Docker CE:
Install the latest version of Docker CE on RHEL:
sudo yum -y install docker-ce
或者,您可以指定特定版本的Docker CE:
Alternatively, you can specify a specific version of Docker CE:
sudo yum -y install docker-ce-<version>-<release>
启动Docker:
sudo systemctl start docker
测试Docker CE安装:
Test your Docker CE installation:
sudo docker run hello-world
这篇关于在RHEL7上安装Docker CE 17.03的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!