kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #84611
[Bug 1371310] Re: docker.io doesn't work with apparmor 3.0 RC1 kernel
I also tried the 3.17.0-031700-generic #2001410060605 linked above. It
also does not work on that kernel.
# docker run -i -t ubuntu /bin/bash
Unable to find image 'ubuntu' locally
Pulling repository ubuntu
1357f421be38: Download complete
511136ea3c5a: Download complete
1de2bd7201a2: Download complete
b70ad18cfc2a: Download complete
3b39241dab7c: Download complete
23f1840ed5a5: Download complete
dfa12c637781: Download complete
set apparmor profile docker-default: no such file or directory2014/10/13 11:24:00 Error response from daemon: Cannot start container 37fdd08fdb5ef28e9a564eb25723acf2363478d2e188f57c7587d416a2ec7825: set apparmor profile docker-default: no such file or directory
# uname -a
Linux braindead 3.17.0-031700-generic #201410060605 SMP Mon Oct 6 10:07:09 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Just so you know, I did rm -rf /var/lib/docker and reinstalled the
docker.io package between each try.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1371310
Title:
docker.io doesn't work with apparmor 3.0 RC1 kernel
Status in “apparmor” package in Ubuntu:
Invalid
Status in “docker.io” package in Ubuntu:
Invalid
Status in “linux” package in Ubuntu:
Fix Released
Bug description:
Steps to reproduce (from
https://wiki.ubuntu.com/Process/Merges/TestPlans/AppArmor):
1. sudo apt-get install docker.io # 1.2.0~dfsg1-1
2. sudo docker pull ubuntu:trusty
3. sudo docker run ubuntu:trusty uptime
2014/09/18 15:48:48 Error response from daemon: Cannot start container fcdfaaf7945bcd9455fb5e0bde9950451152af14556880033818df7b50ddb1f4: set apparmor profile docker-default: permission denied
What is expected? uptime to return something like:
$ sudo docker run ubuntu:trusty uptime
20:31:21 up 1 min, 0 users, load average: 0.09, 0.06, 0.03
I set 'sudo sysctl -w kernel.printk_ratelimit=0' but there is nothing
apparmor related in the logs. If I boot an earlier kernel without the
3.0 RC1 patches, it works.
FYI, 3.16.0-17.23 is in utopic-proposed now and on its way to utopic,
which will affect docker.io in Ubuntu. Workaround until this bug is
fixed is to boot into 3.16.0-16.22 or earlier.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1371310/+subscriptions
References