Install Docker on Ubuntu 18.04| Easy tutorial

Let’s install Docker in 5 minutes using the terminal…

Step 1: Update repositories

sudo apt-get update

Step 2: Uninstall old version

sudo apt-get remove docker docker-engine

Step 3: Install docker

sudo apt install

Step 4: Start and enable docker

sudo systemctl start dockersudo systemctl enable docker

Step 5: Pull and run a docker image

docker --version
docker pull hello-world
docker run hello-world

Congrats, we are done :)