User Tools

Site Tools


tips:dockercentos74

This is an old revision of the document!


Installing DockerCE on RHEL 7.4

The version of Docker CE that works for us on RHEL7.4 is 17.03.02

Post login

Step 1 is to add the Docker CE repo like so

 yum install -y yum-utils
 yum-config-manager --add-repo \
       https://download.docker.com/linux/centos/docker-ce.repo
 yum makecache fast

If you tried to install Docker CE on RHEL7.4 using @yum-install@ you might get

---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be installed
--> Finished Dependency Resolution
Error: Package: docker-ce-17.09.0.ce-1.el7.centos.x86_64 (docker-ce-stable)
           Requires: container-selinux >= 2.9
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

The reason this fails is that the latest version of Docker CE is not supported on RHEL7.4. You need to install the 17.03.02 version. Use this command

 yum install --setopt=obsoletes=0 \
   docker-ce-17.03.2.ce-1.el7.centos.x86_64 \
   docker-ce-selinux-17.03.2.ce-1.el7.centos.noarch

Then the usual

systemctl start docker

You should have a working Docker now.

tips/dockercentos74.1510735330.txt.gz · Last modified: 2017/11/15 14:12 by veera