Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Docker install does not work with Ubuntu 16.04 LTS image #480
I've tried a manual install from the Docker directions and also followed the directions here:
Either way the install locks at:
Any idea if there are problems with 16.04? The same procedure works fine with 14.04.
I'm also seeing this same issue with it hanging on setup. Tried this guide but it didn't work for me http://lukeberndt.com/2016/getting-docker-up-on-linode-with-ubuntu-16-04/
Hopefully you guys can get this resolved soon!
I've run across this issue as well, however I was working off the "manual" instructions from https://docs.docker.com/engine/installation/linux/ubuntulinux/ -- I've read in some places that the it requires you run a custom kernel so I followed https://www.linode.com/docs/tools-reference/custom-kernels-distros/run-a-distribution-supplied-kernel-with-kvm . Unfortunately that didn't help either.
I can't find an exact cause but I think it might be related to https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1456789
Edit: Here's the docker issue, we're not alone: moby/moby#23347
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.
apt-get update apt-get upgrade -y
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://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" > /etc/apt/sources.list.d/docker.list apt-get update apt-get install -y docker-engine service docker start
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 (https://github.com/linode/docs/pull/575/files), 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.