-
Notifications
You must be signed in to change notification settings - Fork 7.2k
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
Problems running aufs w/ linux-aws kernel #2694
Comments
Still an issue with the latest $ uname -r
4.4.0-1013-aws |
It sounds like this issue could be addressed by this fix: move aufs.ko from -extra to linux-image package, by removing the need to install any
I will follow up after verifying. |
Per the linux-aws_4.4.0-1009.18 changelog:
Confirmed on a test machine: ~# grep aufs /proc/filesystems
nodev aufs
~# dpkg -l|grep linux-image
ii linux-image-4.4.0-1013-aws 4.4.0-1013.22 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-4.4.0-1016-aws 4.4.0-1016.25 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-aws 4.4.0.1016.19 amd64 Linux kernel image for Amazon Web Services (AWS) systems. |
Ah, thanks @heph. I have also confirmed your findings. Seems like the fix has yet to make it to the offical Canonical Ubuntu 16.04 EC2 AMI. After launching $ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
$ uname -r
4.4.0-1013-aws
$ grep aufs /proc/filesystems
$ dpkg -l | grep linux-image
ii linux-image-4.4.0-1013-aws 4.4.0-1013.22 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-aws 4.4.0.1013.16 amd64 Linux kernel image for Amazon Web Services (AWS) systems. I have to manually install the latest $ sudo apt-get install linux-aws linux-headers-aws linux-image-aws -y
$ dpkg -l | grep linux-image
ii linux-image-4.4.0-1013-aws 4.4.0-1013.22 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-4.4.0-1016-aws 4.4.0-1016.25 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-aws 4.4.0.1016.19 amd64 Linux kernel image for Amazon Web Services (AWS) systems. Then installing $ grep aufs /proc/filesystems
nodev aufs Conclusions
BugReferences |
The latest daily build has the most up to date
After launching |
The latest official release is: Canonical, Ubuntu, 16.04 LTS, amd64 xenial image build on 2017-05-16
After launching
No additional installations or configuration is required. |
@niclic Thank you for your continuous updates! If it's correct, i suppose the documentation is a bit out-of-date:
|
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. /lifecycle locked |
Problem description
Installing Docker on Ubuntu 16.04 LTS with the
linux-aws
kernel package fails because there is no correspondinglinux-image-extra-$(uname -r)
package for this kernel.This is similar to an issue described in #2252 (although presumably the mainline is not supported).
The docs seem to suggest that
linux-image-extra-*
packages are only required when installing onTrusty 14.04
.However, the
aufs-driver
docs include the same instructions, without reference to Ubuntu versions or code names.This is confusing and probably needs clarification.
aufs
support for Docker on Ubuntu 16.04?linux-image-extra-$(uname -r)
packages required to useaufs
with Docker?Problem location
URLS:
Project version(s) affected
I was installing the latest version of
docker ce
onUbuntu 16.04 LTS
, but using the brand newlinux-aws
kernel package. This may affect other versions of Docker on Ubuntu.Suggestions for a fix
Not sure if this is a suggestion (or even recommended), but here are my own findings on successfully installing on the
linux-aws
kernel.The
aufs-driver
docs first suggest to check foraufs
support:Then to install the
linux-image-extra-*
packages:sudo apt-get install linux-image-extra-$(uname -r) \ linux-image-extra-virtual
Instead, I ran only this command :
This also installed
linux-headers-4.4.0-72-generic
, which presumably is what would be installed if I were not running thelinux-aws kernel
.NOTE: At this point running
grep aufs /proc/filesystems
produces no output.From here, I installed
docker-ce
as normal.After installing Docker, running
grep aufs /proc/filesystems
produces the desired output:And after configuring Docker to use the
aufs
storage driver as described here, everything appears to run as expected.The text was updated successfully, but these errors were encountered: