Posted on: September 27, 2021 Posted by: rahulgite Comments: 21

install docker on linux

 

Uninstall old  docker versions:

sudo apt-get remove docker docker-engine docker.io containerd runc

it’s OK if apt-get reports that none of these packages are installed.

We have 3 ways to install docker

  • Most users set up Docker’s repositories and install from them, for ease of installation and upgrade tasks. This is the recommended approach.
  • Some users download the DEB package and install it manually and manage upgrades completely manually. This is useful in situations such as installing Docker on air-gapped systems with no access to the internet.
  • In testing and development environments, some users choose to use automated convenience scripts to install Docker.

 

Loading

21 People reacted on this

Leave a Comment