Installing the docker on ubuntu 16.04

  D ocker was a buzzword in the modern Tech word, In the previous blog , we have discussed the docker and installing docker on centos7. In t...


 

Docker was a buzzword in the modern Tech word, In the previous blog, we have discussed the docker and installing docker on centos7.

In this blog, we are going to install the docker for ubuntu 16.04.


Step1: To add the GPG key for the official Docker repository to our local ubuntu system.

Command: curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

In ubuntu Curl not installed, so need to install curl 

Command: apt-get install curl


Step2: To add the Docker repository to APT sources in local system.

Command: add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"


Step3: Update the debian.

Command: apt-get update
Step4: Install the docker using the below command.

Command: apt-get install -y docker-ce


Step5: Checking the docker running status.

Command: systemctl status docker

Step6: Now the docker was installed successfully, we can check the version of installed docker.

Command: docker -v

Step6: Check the docker default image by running the below command.

Command: docker run hello-world

It shows the welcome images

Step7: Check the docker images in our system.

Command: docker images

Now we have successfully setup and installed the docker in ubuntu16.04.


COMMENTS

Name

AWS,1,Devops,11,linux,9,
ltr
item
Techie View: Installing the docker on ubuntu 16.04
Installing the docker on ubuntu 16.04
https://1.bp.blogspot.com/-BM4fjNjvyKI/X_ARAsDDKQI/AAAAAAAAALY/m1KXg0mlRc0peJ48j73YMuhug7nX-wOnwCLcBGAsYHQ/s320/docker%2Band%2Bubuntu.png
https://1.bp.blogspot.com/-BM4fjNjvyKI/X_ARAsDDKQI/AAAAAAAAALY/m1KXg0mlRc0peJ48j73YMuhug7nX-wOnwCLcBGAsYHQ/s72-c/docker%2Band%2Bubuntu.png
Techie View
https://www.techiev.com/2021/01/installing-docker-on-ubuntu-1604.html
https://www.techiev.com/
https://www.techiev.com/
https://www.techiev.com/2021/01/installing-docker-on-ubuntu-1604.html
true
7013663511659419322
UTF-8
Loaded All Posts Not found any posts VIEW ALL View Full Article Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy