Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
2 views
in DevOps and Agile by (29.3k points)

I tried installing Docker using ubuntu 14.0LTS VirtualBox

sudo apt get install docker

However, when I try running docker it gives me the following error

The program 'docker' is currently not installed. You can install it by typing:

sudo apt-get install docker

Why is Ubuntu not seeing docker?

2 Answers

0 votes
by (50.2k points)

The command for installing docker in Ubuntu is

Sudo apt-get install docker.io

Where you are using sudo apt-get install docker so that is the reason why your ubuntu machine couldn’t recognize docker. Try the above command that will install docker on ubuntu.

0 votes
by (106k points)

To solve your issue you have to use curl, you can follow the commands mentioned below:

sudo curl -sSL http://getdocker/ | sh

The above command will execute a code that installs docker.

After completing the above step update Docker run by the below-mentioned command:

sudo apt-get update && apt-get upgrade

Also, make sure that you use docker.io instead of docker.

sudo apt-get install docker.io

Related questions

Browse Categories

...