Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

[18.09 backport] Deprecate AuFS storage driver, and add warning #97

Closed

Conversation

thaJeztah
Copy link
Member

@thaJeztah thaJeztah commented Oct 26, 2018

built on top of #85

Related deprecation note PR: docker/cli#1484

The aufs storage driver is deprecated in favor of overlay2, and will
be removed in a future release. Users of the aufs storage driver are
recommended to migrate to a different storage driver, such as overlay2, which
is now the default storage driver.

The aufs storage driver facilitates running Docker on distros that have no
support for OverlayFS, such as Ubuntu 14.04 LTS, which originally shipped with
a 3.14 kernel.

Now that Ubuntu 14.04 is no longer a supported distro for Docker, and overlay2
is available 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 aufs storage driver.

- Description for the changelog

* Deprecate `aufs` storage driver [docker/engine#97](https://github.com/docker/engine/pull/97) / [moby/moby#38090](https://github.com/moby/moby/pull/38090)

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]>
(cherry picked from commit 06fcabb)
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]>
(cherry picked from commit 31be4e0)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
The `aufs` storage driver is deprecated in favor of `overlay2`, and will
be removed in a future release. Users of the `aufs` storage driver are
recommended to migrate to a different storage driver, such as `overlay2`, which
is now the default storage driver.

The `aufs` storage driver facilitates running Docker on distros that have no
support for OverlayFS, such as Ubuntu 14.04 LTS, which originally shipped with
a 3.14 kernel.

Now that Ubuntu 14.04 is no longer a supported distro for Docker, and `overlay2`
is available 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 `aufs` storage driver.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
(cherry picked from commit 13ef0eb)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah added this to the 18.09.0 milestone Oct 26, 2018
@thaJeztah
Copy link
Member Author

Copy link

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🐯

@AkihiroSuda
Copy link

Is this going to be merged to v18.09?

@thaJeztah
Copy link
Member Author

Let me close this for now; there were concerns about AuFS still being too widely in use to mark it deprecated already 😕

docker/cli#1484 (comment)

@thaJeztah thaJeztah closed this Nov 5, 2018
@thaJeztah thaJeztah deleted the 18.09_backport_deprecate_aufs branch March 24, 2022 23:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants