How To Install docker on ubuntu-Docker Install Ubuntu

0 Comment

How To Install docker on ubuntu-Docker Install Ubuntu

to install docker on Ubuntu or to install docker on Debian, we need to follow two steps. one is setup the repository and second one is installing the docker. in the following steps i will show you how to install docker on Debian step by step. for the installation of  Docker CE, you need the 64-bit version Ubuntu: in the following steps i will show you clearly how to install docker on Ubuntu.

to install docker on Ubuntu or to install docker on Debian run the following commands

Setup Repository:

Check List of  The Docker Versions Available:

you can see in the image different versions of docker.
how to install docker on ubuntu

Install Docker Latest Version:

it will install the latest version available in your repo list  that is top one in the list. in my case it is 18.06.1~ce~3-0~ubuntu.

Install Specific Version Of Docker:

from above  list you can select your version

this will install 17.09.0~ce-0~ubuntu docker version

Use Docker With Non-Root User:

if you want to use docker with non root user you must add that user to docker group. you can see in the below image i executed  docker command with devops user but it is showing permission denied. for that we have to add devops user to docker group.

Docker Install Ubuntu-Install Docker Debian

Docker Install Ubuntu-Install Docker Debian

now you can run docker commands

Install Docker on Ubuntu With Script:

if you want to install the docker with one simple script use below command

 

  • How to Install Docker On Ubuntu 16.04
  • install docker linux
  • docker install
  • docker install Debian
  • install docker ce Ubuntu
  • install docker ubuntu 18
[top]

Leave a Reply

Your email address will not be published. Required fields are marked *