mirror of
https://github.com/docker/cli.git
synced 2026-01-15 07:40:57 +03:00
The overlay2 storage-driver requires multiple lower dir support for overlayFs. Support for this feature was added in kernel 4.x, but some distros (RHEL 7.4, CentOS 7.4) ship with an older kernel with this feature backported. This patch adds feature-detection for multiple lower dirs, and will perform this feature-detection on pre-4.x kernels with overlayFS support. With this patch applied, daemons running on a kernel with multiple lower dir support will now select "overlay2" as storage-driver, instead of falling back to "overlay". Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: 955c1f881ac94af19c99f0f7d5635e6a574789f2 Component: engine