+1 vote
1 view
in Devops and Agile by (29.1k 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 (49.8k 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 (107k 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

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...