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:
sudo apt-get update
ReplyDeletesudo apt-get install docker.io
sudo systemctl enable docker
sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker