Thursday, June 25, 2020

Linux - How to install docker on your system

How to install Docker on your RHEL system

1. Go to and copy the script and save on your system or use curl to download.
# curl -fsSL -o

2. Run the script. This script will start the installation process of docker.
# sh

3. Run docker commands
# docker version
# docker ps

4. Start the docker service/daemon
# systemctl start docker
# systemctl enable docker

5. Set up docket account so that you can download docker images from
Note: You have to create account at before you set up the configuration
# docker login

6. Download the docker image from docker hub.
# docker pull httpd

No comments:

Post a Comment