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
According to the changelog, the overlayfs storage driver was introduced in docker-1.3.0.
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.
Added in docker-overlay to docker-9999: https://github.com/tianon/docker-overlay/commit/1d5038c71f5b550c1ae1109d4405178eb71dcfad
+ 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> +
Thanks a lot !