Install Docker on Ubuntu 18.04| Easy tutorial
Let’s install Docker in 5 minutes using the terminal…
2 min readAug 2, 2020
Step 1: Update repositories
sudo apt-get update
Step 2: Uninstall old version
sudo apt-get remove docker docker-engine docker.io
Step 3: Install docker
sudo apt install docker.io
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 :)