How to add Docker In Ubuntu

How to add Docker In Ubuntu

 

How to add Docker In Ubuntu


Docker is a compartment administration that enables one to run applications or notwithstanding working frameworks on a host working framework as holders. Holders are another and energizing innovation that has advanced in the course of the most recent few years and is being received by a lot of key associations.

Docker is an organization that builds up these unique compartments for applications. The official site for Docker is https://www.docker.com/

Stage 1 − The initial step is to introduce the Docker application on the Ubuntu server. In this manner on the Ubuntu test server, run the accompanying order to guarantee that OS updates are set up.

sudo apt-get update 

Stage 2 − Once the sum total of what updates have been prepared, issue the accompanying order to get Docker introduced.

sudo apt-get install -y docker.io

Stage 3 − Once the Docker bundles are introduced, we ought to get a yield message expressing that the Docker procedure has begun and is running. The Docker procedure is known as the Docker motor or Docker daemon.

Stage 4 − To see the rendition of Docker running, issue the Docker data direction.

Stage 5 − The subsequent stage is to introduce our CentOS picture on Ubuntu.

Stage 6 − Do a snappy and basic sign-in procedure to have the option to sign into the site and see all the accessible Docker pictures.

Stage 7 − Once signed in, click the Explore catch to see all the accessible Docker pictures.

Step 8 − On the Ubuntu box, run the command.

sudo docker pull centos:latest

Stage 9 − To see all the Docker pictures introduced, issue the direction

sudo docker images

Stage 10 − To begin CentOS, we have to issue an order to the OS to kick a string off. We can do this by running the accompanying order.

sudo docker run -it centos /bin/bash
Reactions

Post a Comment

0 Comments

close