Docker and Aufs on Gentoo/funtoo

and then try to emerge docker again

When attempting to install docker on gentoo or funtoo and you used a genkernel or debian kernel aufs will typically fail emerging.

To fix this all we have to do is emerge:

sudo emerge sys-kernel/aufs-sources

and then try to emerge docker again

sudo emerge -av app-emulation/docker