Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Docker - Unable to locate package docker-engine

I am trying to install docker in Ubuntu 16.04. I am following this link for docker installation. I am ending up with Unable to locate package docker-engine

My current kernal version - 4.4.0-38-generic Ubuntu version - 16.04

like image 622
Prabhu Khanna Mahadevan Avatar asked Sep 22 '16 17:09

Prabhu Khanna Mahadevan


3 Answers

The docker package already inside Ubuntu is called docker.io [1] so just do

sudo apt-get install docker.io

But if you follow that link you gave and do steps 7, 8, 9 then your installation will know about the package at the docker repo and also find docker-engine.

Your call. I run the Ubuntu version (currently 0.11.2 on Ubuntu 16.04) on some machines, and the one from Docker on others (as I was curious about some 0.12 features). Both will work just fine.

[1] As docker is used for a desktop launcher application 'docking' icons.

like image 185
Dirk Eddelbuettel Avatar answered Sep 23 '22 05:09

Dirk Eddelbuettel


I faced the same issue on AWS-EC2 with ubuntu-18.04 server...

running apt-get update does the trick for me....

Once update runs fine then run apt-get install docker.io

like image 37
Abhishek Jain Avatar answered Sep 21 '22 05:09

Abhishek Jain


The main solution which solved most of the issues in docker is installing 64-bit version of ubuntu. I was running with 32-bit(i686). Hope it helps ! !

like image 44
Prabhu Khanna Mahadevan Avatar answered Sep 19 '22 05:09

Prabhu Khanna Mahadevan