Uploaded September 2020 | Updated September 2026, 2 weeks ago
___________________________________________________________________
Problem: Simplest way to install Docker on Ubuntu?
Solution:
Run the below command
sudo apt-get install docker-compose
Note: this also installs 3rd party libraries
If you just need docker the use the below command
sudo apt-get install -y docker.io
-y is for yes option to avoid manual
user input Y
___________________________________________________________________
___________________________________________________________________
Problem: Simplest way to install Docker on Ubuntu?
Solution:
Run the below command
sudo apt-get install docker-compose
Note: this also installs 3rd party libraries
If you just need docker the use the below command
sudo apt-get install -y docker.io
-y is for yes option to avoid manual
user input Y
___________________________________________________________________










