How to install Docker on Linux (Ubuntu)


Install Docker on Ubuntu

At first open terminal and update by typing below command
sudo apt-get update

Check and Uninstall previous docker for fresh installation
sudo apt-get remove docker docker-engine docker.io

Install Docker by typing this command
sudo apt install docker.io

Start Docker by typing this command
sudo systemctl start docker


Enable Docker for startup by typing this command
sudo systemctl enable docker

Check Docker installation
sudo docker --version 


Video Tutorial:

Download Coding Interview Book and Get More Tutorials for Coding and Interview Solution: Click Here

Download System Design Interview Book and Get More Tutorials and Interview Solution: Click Here

Do you need more Guidance or Help? Then Book 1:1 Quick Call with Me: Click Here

Share on Google Plus

About Ashadullah Shawon

I am Ashadullah Shawon. I am a Software Engineer. I studied Computer Science and Engineering (CSE) at RUET. I Like To Share Knowledge. Learn More: Click Here
    Blogger Comment
    Facebook Comment

1 comments:

  1. sudo apt-get update
    sudo apt-get install docker.io
    sudo systemctl enable docker
    sudo groupadd docker
    sudo usermod -aG docker $USER
    newgrp docker

    ReplyDelete