Install Docker-CE on RHEL7

Considering you have subscription of RHEL, the steps are as follows:

  1. Register to RHEL

2. Install yum utils

2. Install container-selinux

3. Add docker-ce repo

4. Install docker-ce

5. Download the current stable release of Docker Compose.
To find the latest version refer site https://docs.docker.com/compose/install/ under tab Linux. Here, it is 1.26.2.

6. Apply executable permissions to the binary and create a symbolic link to /usr/bin

8. Test the installation

Troubleshoot:

1. Remove previous version of docker

2. Error “permission denied while trying to connect to the Docker daemon socket”

--

--

System Administrator and Full stack web developer.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store