mirror of
https://github.com/moby/moby.git
synced 2026-08-13 17:06:44 +00:00
Commit955c1f881a(Docker v17.12.0) replaced detection of support for multiple lowerdirs (as required by overlay2) to not depend on the kernel version. The `overlay2.override_kernel_check` was still used to print a warning that older kernel versions may not have full support. After this, commite226aea280(Docker v20.10.0, backported to v19.03.7) removed uses of the `overlay2.override_kernel_check` option altogether, but we were still parsing it. This patch changes the `parseOptions()` function to not parse the option, printing a deprecation warning instead. We should change this to be an error, but the `overlay2.override_kernel_check` option was not deprecated in the documentation, so keeping it around for one more release. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commite35700eb50) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>