Deprecate legacy overlay storage driver, and add warning#38018
Merged
thaJeztah merged 2 commits intomoby:masterfrom Oct 12, 2018
Merged
Deprecate legacy overlay storage driver, and add warning#38018thaJeztah merged 2 commits intomoby:masterfrom
thaJeztah merged 2 commits intomoby:masterfrom
Conversation
Member
Author
|
ping @dmcgowan @AkihiroSuda @andrewhsu PTAL |
AkihiroSuda
approved these changes
Oct 11, 2018
The `devicemapper` storage driver is deprecated in favor of `overlay2`, and will be removed in a future release. Users of the `devicemapper` storage driver are recommended to migrate to a different storage driver, such as `overlay2`, which is now the default storage driver. The `devicemapper` storage driver facilitates running Docker on older (3.x) kernels that have no support for other storage drivers (such as overlay2, or AUFS). Now that support for `overlay2` is added to all supported distros (as they are either on kernel 4.x, or have support for multiple lowerdirs backported), there is no reason to continue maintenance of the `devicemapper` storage driver. Signed-off-by: Sebastiaan van Stijn <[email protected]>
The `overlay` storage driver is deprecated in favor of the `overlay2` storage driver, which has all the benefits of `overlay`, without its limitations (excessive inode consumption). The legacy `overlay` storage driver will be removed in a future release. Users of the `overlay` storage driver should migrate to the `overlay2` storage driver. The legacy `overlay` storage driver allowed using overlayFS-backed filesystems on pre 4.x kernels. Now that all supported distributions are able to run `overlay2` (as they are either on kernel 4.x, or have support for multiple lowerdirs backported), there is no reason to keep maintaining the `overlay` storage driver. Signed-off-by: Sebastiaan van Stijn <[email protected]>
ea2b65a to
31be4e0
Compare
Codecov Report
@@ Coverage Diff @@
## master #38018 +/- ##
=========================================
Coverage ? 36.11%
=========================================
Files ? 610
Lines ? 45175
Branches ? 0
=========================================
Hits ? 16314
Misses ? 26622
Partials ? 2239 |
Member
Author
|
Failure on experimental is unrelated; https://jenkins.dockerproject.org/job/Docker-PRs-experimental/42545/console |
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related deprecation note PR: docker/cli#1425
This PR is built on top of #38017, but I can rebase once that's merged
The
overlaystorage driver is deprecated in favor of theoverlay2storagedriver, which has all the benefits of
overlay, without its limitations (excessiveinode consumption). The legacy
overlaystorage driver will be removed in a futurerelease. Users of the
overlaystorage driver should migrate to theoverlay2storage driver.
The legacy
overlaystorage driver allowed using overlayFS-backed filesystemson pre 4.x kernels. Now that all supported distributions are able to run
overlay2(as they are either on kernel 4.x, or have support for multiple lowerdirs
backported), there is no reason to keep maintaining the
overlaystorage driver.