To install the Docker engine on Linux, follow these steps:
- Go to https://download.docker.com/linux/centos/7/x86_64/stable/Packages/ to download the latest .rpm file for the version of Docker you want to install.
- Save the docker-ce*.rpm file in a convenient location. In this case, the file is saved to the default Downloads directory.
- Log in to the Terminal with a user with superuser privileges:
$ suPassword:
- Install the RPM package using the yum install command. Specify the complete path to where the RPM file is:
# yum install /home/prashanth/Downloads/docker-ce-18.03.1.ce-1.el7.centos.x86_64.rpm -y
- Once the installation ...