How to Install Docker on Ubuntu Server

 

Video Training

Commands : 

  1. sudo apt update 
  2. sudo apt install apt-transport-https ca-certificates curl software-properties-common 
  3. curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add – 
  4. sudo add-apt-repository “deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable” 
  5. sudo apt update 
  6. sudo apt install docker-ce 
  7. sudo systemctl status docker 

Create user for Docker (Optional)
 
sudo usermod -aG docker $USER

Leave a Reply

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