Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 541742 - support overlayfs in app-emulation/docker
Summary: support overlayfs in app-emulation/docker
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tianon
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-01 00:17 UTC by Thomas Capricelli
Modified: 2015-03-03 22:51 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Capricelli 2015-03-01 00:17:35 UTC
Recently the 'graphdriver' for overlayfs was added to docker. It's in 1.5.0 which is already available in gentoo.
Last kernels also have support for the overlayfs.
The only thing preventing us gentoo user to use this (great!) storage backend, is that it's not supported by the ebuild.

It's just a matter of adding a ./configure option iiuc.

You could add a USE flag or not.

You will probably want to add checks for the kernel OVERLAYFS config stuff, as is already done by the docker provided check-config.sh.

Reproducible: Always
Comment 1 Thomas Capricelli 2015-03-01 00:24:29 UTC
According to the changelog, the overlayfs storage driver was introduced in docker-1.3.0.
Comment 2 Tianon 2015-03-01 01:11:10 UTC
This should actually be working as-is -- I'm going to add a use flag for it, but since we're not explicitly excluding it, upstream's build system includes it by default right now.
Comment 3 Tianon 2015-03-01 01:24:41 UTC
Added in docker-overlay to docker-9999: https://github.com/tianon/docker-overlay/commit/1d5038c71f5b550c1ae1109d4405178eb71dcfad
Comment 4 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2015-03-03 14:22:10 UTC
+  03 Mar 2015; Kacper Kowalik <xarthisius@gentoo.org> docker-1.5.0.ebuild,
+  metadata.xml:
+  Port changes from Tianon's overlay. Fixes bug #541742 by Thomas Capricelli
+  <orzel@freehackers.org>
+
Comment 5 Thomas Capricelli 2015-03-03 22:51:30 UTC
Thanks a lot !