Skip to content

rgyan619/docker

Repository files navigation

DOCKER FOR ALL!!

Installing the docker

NOTE: THIS METHOD IS ONLY VALID FOR REDHAT LINUX.

STEP 1. Go to this link https://download.docker.com/linux/centos/7/x86_64/stable/

STEP 2. Open your terminal and add this command cd /etc/yum.repos.d/

STEP 3. Add a file name docker.repo in /etc/yum.repos.d/

STEP 4. Copy paste the code in that file -->>

[docker]

baseurl=https://download.docker.com/linux/centos/7/x86_64/stable/

gpgcheck=0

alt-text

STEP 5. Save this file and run a command yum install docker-ce --no best

STEP 6. Check if the docker is installed properly or no by this command rpm -q docker-ce

Using the docker script

STEP 1. Copy paste the code docker.py and excute it.

STEP 2. The home screen of this script is like this..

alt-text

STEP 3. Use the 1st option for verification that docker is installed or not.

alt-text

STEP 4. Use the 2nd option to start the docker

alt-text

STEP 5. USe the 3rd option to check the status whethere the docker is active or not.

alt-text

STEP 6. Use the 4th option to check the pre-installed images.

alt-text

STEP 7. Use the 5th option to installed new images

STEP 8. Use the 6th option to run a docker OS

alt-text

STEP 9. Use the 7th option to check background running OS.

alt-text

STEP 10. Use the 8th option to stop the docker.

NOTE: For more information contact me on linkedin https://www.linkedin.com/in/gyan-ranjan-096797148

ENJOY THE SCRIPT!!!

About

Docker script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages