The Redhat Linux OS that is installed on the Virtual Machine or on the PC, has to be configured with the yum repositories to install the docker.
If at all the OS launched from the cloud, the configuration of the YUM will be done by default. I am using putty in this tutorial, to access the instance launched.
Now, to access the folder where the repo files are present.
Install the VIM to create and edit the files in RHEL.
Create and Open a repository for installation of docker using vim
Configure the repo file accordingly with the URL to download docker (http://download.docker.com/linux/centos/7/x86_64/stable)
Install the Docker-CE stable version using yum
After successful installation check the installed version of the docker
Execute few commands to know about the docker
Now, install an OS using and check the names of commands from hub.docker.com
This is all about the installation of Docker-CE on RHEL. Happy Reading