hack/install.sh should encourage installation of linux-image-generic on Ubuntu #12386
Labels
kind/enhancement
Enhancements are not bugs or new features but can improve usability or performance.
I installed Docker on Ubuntu 14.04 under OpenStack using the standard install script, built some images and then started some containers. Then I ran a
dist-upgrade
on the host, which installed a new kernel version, and rebooted. When the machine came back up, all my containers and images were missing.I think this is because the
aufs
kernel module was missing from the new kernel. I don't know for sure, because in the process of debugging this I deleted the stuff in/var/lib/docker
. Oops :)I think the reason this happened is:
linux-image-extra...
package specific to the currently-running kernel.linux-image-generic
installed; it haslinux-image-virtual
, which does not depend on the-extra
package.-extra
package was not, meaning theaufs
driver went missing.Perhaps the install script should show a warning if the
linux-image-generic
package is not installed?docker version
:docker info
:uname -a
:The text was updated successfully, but these errors were encountered: