Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 554306

Summary: app-emulation/docker-1.7 fails to start containers
Product: Gentoo Linux Reporter: Sylvain Chevalier <sylvain.chevalier>
Component: Current packagesAssignee: Tianon <admwiggin>
Status: RESOLVED FIXED    
Severity: major CC: alunduil, proxy-maint, xarthisius
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Sylvain Chevalier 2015-07-09 08:53:39 UTC
Created attachment 406392 [details]
emerge --info

After upgrading Docker from 1.6.2 to 1.7 (and subsequent versions), containers fail to start, error message is:

Cannot start container 9c400c4050ebfb40b0c3f0f34e29be443c0965d0c68a836a2b2502ea2a77cd50: [8] System error: mountpoint for blkio not found

Everything is fine when downgrading back to 1.6.2. Storage driver is btrfs.
Comment 1 Sylvain Chevalier 2015-07-12 13:06:48 UTC
Same result using overlayfs.
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2015-07-12 14:10:14 UTC
My first guess is kernel misconfiguration. 

Could you download:
https://github.com/dotcloud/docker/blob/master/contrib/check-config.sh

and run it?
Comment 3 Sylvain Chevalier 2015-07-12 18:16:17 UTC
So you're right, I did not have CONFIG_BLK_CGROUP enabled, and everything works well if it is enabled.

The thing is that the ebuild does not make any mention of it. Also you script describes it as optional, which does not seem to be the case on version 1.7.

So the resolution might be to just add BLK_CGROUP to CONFIG_CHECK.

Thanks a lot!
Comment 4 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2015-07-24 18:49:16 UTC
+*docker-1.7.1 (24 Jul 2015)
+
+  24 Jul 2015; Kacper Kowalik <xarthisius@gentoo.org> +docker-1.7.1.ebuild,
+  -docker-1.7.0-r1.ebuild, -docker-1.7.0.ebuild:
+  Version bump, grabbed from tianon's docker overlay. Fixes #554306. Drop old
+