0 votes
1 view
in Devops and Agile by (29.8k points)

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 about the installing Docker on RHEL but there is no version info.

and here with Docker 17.03 but only in Docker EE, not Docker CE

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/7.0_Release_Notes/sect-Red_Hat_Enterprise_Linux-7.0_Release_Notes-Linux_Containers_with_Docker_Format-Using_Docker.html but they talk about Docker v 0.12

1 Answer

0 votes
by (51k points)

The first step is to 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

Install the latest version of Docker CE on RHEL:

sudo yum -y install docker-ce

Alternatively, you can specify a specific version of Docker CE:

sudo yum -y install docker-ce-<version>-<release>

Start Docker:

sudo systemctl start docker

Test your Docker CE installation:

use mock to build the package from the sources on git.centos.org

sudo docker run hello-world

But there is a need to check for the dependencies for that please refer my answer on https://intellipaat.com/community/8722/docker-ce-on-rhel-requires-container-selinux-2-9 that will help you if you got any package error.

Related questions

0 votes
1 answer
0 votes
1 answer
asked Jul 15, 2019 in AWS by yuvraj (19.2k points)
0 votes
1 answer
0 votes
1 answer
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...