Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker install does not work with Ubuntu 16.04 LTS image #480

dwsteele opened this issue May 31, 2016 · 8 comments

Docker install does not work with Ubuntu 16.04 LTS image #480

dwsteele opened this issue May 31, 2016 · 8 comments


Copy link

@dwsteele dwsteele commented May 31, 2016

I've tried a manual install from the Docker directions and also followed the directions here:

Either way the install locks at:

Setting up docker-engine (1.11.1-0~xenial) ...

Any idea if there are problems with 16.04? The same procedure works fine with 14.04.

Copy link

@tonymke tonymke commented Jun 7, 2016

Also experiencing this. Unsure what the issue is.

Copy link

@alexfornuto alexfornuto commented Jun 15, 2016

I belive that this has to do with a kernel option required in 16.04 and/or newer versions of Docker, but that's based only on what I've heard in passing. We'll look into this. Thanks for bringing it to our attention!

@alexfornuto alexfornuto self-assigned this Jun 15, 2016
Copy link

@tomschlick tomschlick commented Jun 17, 2016

I'm also seeing this same issue with it hanging on setup. Tried this guide but it didn't work for me

Hopefully you guys can get this resolved soon! 👍

Copy link

@ShakataGaNai ShakataGaNai commented Jun 22, 2016

I've run across this issue as well, however I was working off the "manual" instructions from -- I've read in some places that the it requires you run a custom kernel so I followed . Unfortunately that didn't help either.

I can't find an exact cause but I think it might be related to

Edit: Here's the docker issue, we're not alone: moby/moby#23347

Copy link

@messense messense commented Jul 3, 2016

Same issue.

@dwsteele dwsteele changed the title Docker install not work with Ubuntu 16.04 LTS image Docker install does not work with Ubuntu 16.04 LTS image Jul 3, 2016
Copy link

@tomschlick tomschlick commented Jul 11, 2016

This worked for me (as mentioned in the docker issue):

sudo dmsetup mknodes
sudo apt-get install -y --reinstall docker-engine
Copy link

@tiangolo tiangolo commented Aug 18, 2016

Cross posting my comment in moby/moby#23347 (comment) as it might be useful for other people getting here.

For those of you running on Linode, @brentjanderson's instructions worked for me on a Ubuntu 16.04 as root user on a new Linode.


  • In a new Linode, update and upgrade packages:
apt-get update
apt-get upgrade -y
  • Install and setup dmsetup:
apt-get install -y dmsetup
dmsetup mknodes

For example, as of now:

apt-get install apt-transport-https ca-certificates

apt-key adv --keyserver hkp:// --recv-keys 58118E89F3A912897C070ADBF76221572C52609D

echo "deb ubuntu-xenial main" > /etc/apt/sources.list.d/docker.list

apt-get update
apt-get install -y docker-engine
service docker start
Copy link

@pbzona pbzona commented Feb 23, 2017

I must have missed this issue while I was trying to fix Docker a while back. We've got the guide in a working state now (, using a Docker-maintained script for installation.

@tiangolo's solution is preferable for Ubuntu installations (which this guide is), but the install script checks for distros, and should theoretically at least help users get Docker installed on other systems as well.

As such, I'm closing this issue. We're aware that the Docker guides need some love, but for now, things should be working. Thanks to all those who contributed here, and feel free to shoot us an email if you'd like to get involved in our Docker guide updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
8 participants
You can’t perform that action at this time.