moby: Docker not working with ubuntu 16.04 kernel v4.6.3.
Ubuntu 16.04 has some power management issues… so i had to upgrade the kernel to linux-image-4.6.3-040603-generic_4.6.3-040603.201606241434_amd64.deb . But since the upgrade docker is not running.
I tried removing docker completely and reinstalling it but 2 issues arise
- aufs package is not being found for the current kernel version (but it is optional so fine)
- when installing docker… it is stuck at
setting up docker-engine
forever.
I would like to confirm that docker was working perfectly fine on my machine with the default ubuntu 16.04 kernel version before the switch to newer kernel versions.
Can someone please help me to get things working. Thank You in advance.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 18 (7 by maintainers)
I’m running into the same issue here on a brand new installation. Here are what I believe to be the salient points.
uname -r
returns4.6.0-040600-generic
for which there seems to be nolinux-image-extra
package for.My assumption is that we might be able to get this to work if we could find an appropriate linux-image-extra package for our kernel but I don’t know where one would go about finding or building such a thing.
Command and log output follows. If there’s anything more I can add please let me know.
Failed linux-image-extra install
The hung
dpkg
processes look like:/var/log/apt/term.log
/var/log/apt/history.log
/var/log/dpkg.log
Sweet, that worked. I was dubious at first because it seemed like
docker
didn’t actually install sincedpkg
hung but the docker service was installed but failing to start like this:After installing this /etc/docker/daemon.json
The output looked like:
I also confirmed that I could run
docker run hello-world
Thanks for the quick response!!!
Alright, so looks like there’s no package for that, so you won’t be able to use aufs; can you start docker-engine using the overlay driver?
--storage-driver=overlay
on the daemon, or using an/etc/docker/daemon.json
configuration file? https://docs.docker.com/engine/reference/commandline/dockerd/#/daemon-configuration-file@thaJeztah I agree this issue is worth closing but I’m wondering if another should be opened to address the fact that the
/bin/sh /var/lib/dpkg/info/docker-engine.postinst configure
script (and thereforedpkg
itself) hangs on install when thelinux-image-extra
package is not present. Maybe a feature request for checking the presence of the library and if not present, starting the daemon with the overlay flag or inserting the daemon.json file on the file system?I’m happy to open one if it’s not going to just be noise.