Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate overlay driver #7439

Open
bermudezmt opened this issue Sep 27, 2018 · 16 comments
Open

Deprecate overlay driver #7439

bermudezmt opened this issue Sep 27, 2018 · 16 comments
Assignees
Labels
area/storage Relates to storage, volumes lifecycle/frozen

Comments

@bermudezmt
Copy link
Contributor

Problem description

Relates to #7433 @thaJeztah: Thinking we should start deprecating the overlay driver; IIRC, with the Red Hat kernels now supporting overlay2, every supported distro that supports overlay now also supports overlay2, and I cannot think of any reason to use overlay instead of overlay2 for those.

Problem location

  • Future updates: storage/storagedriver/index.md
@kolyshkin
Copy link
Contributor

For RHEL

  • overlay (but not overlay2) is supported by RHEL 7.1 and 7.2.
  • overlay2 is supported since RHEL 7.3.
    Meaning that if we deprecate overlay we deprecate RHEL/CentOS < 7.3

@andrewhsu
Copy link
Contributor

This looks like a good idea to me. cc @mataneja

@mataneja
Copy link

RHEL/CentOS < 7.3 are already deprecated. Is there some other OS variant that supports overlay that we still support?

@thaJeztah
Copy link
Member

No, this would only be for older debian versions (which we dropped in 18.09).

RHEL, and thus RHEL < 7.3 was only built for Docker EE, which never had overlay in the list of supported storage drivers (it "worked" but was not supported).

@mataneja
Copy link

mataneja commented Nov 12, 2018

Is there a place where we called out overlay support that now needs to be cleaned up? As in, what does deprecation of overlay actually mean in terms of what needs to to done?

@thaJeztah
Copy link
Member

Deprecation means we'll remove it in a future release. We may want to add a "deprecated" warning at the top of the overlay storage driver page (describing that if your system supports overlay, it most likely supports overlay2, and has all the advantages, and none of the negatives of overlay)

@thaJeztah
Copy link
Member

Main reason for deprecating things is to give people notice, and a chance to prepare for the feature to be removed. That was also the reason for the introduction of the feature deprecation policy;
https://docs.docker.com/engine/#feature-deprecation-policy (although that originates from the open source maintainers, well before there even was CE/EE)

@mataneja
Copy link

@thaJeztah I understand the need for deprecation and am fully supportive of this. I am just curious what steps we need to take in order to accomplish this. From your comments above, it seems that it may simply be a warning on the overlay storage driver page? Can you plz link to it here? Also, is that the extent of the work?

@thaJeztah
Copy link
Member

@mataneja From a documentation perspective; yes, I would make sure to;

I would also recommend (if we do a patch release) to include these changes:

Those changes will;

  • Add a warning to the output of docker info that notifies the user that they're using a deprecated storage driver
  • Skip overlay (and devicemapper) when performing automatic selection of storage-drivers on a fresh install
    • the storage driver can still be used, and will still be used on existing installations (so when upgrading an older engine) but won't be used automatically on a fresh install

@ahh-docker ahh-docker self-assigned this Nov 27, 2018
@ahh-docker
Copy link
Contributor

@thaJeztah @mataneja I'll take care of this. Do you mind reviewing it when I'm done?

@ahh-docker
Copy link
Contributor

@thaJeztah It looks like there was a PR merged that relates to this. Does it fix this, or is there more work to do? Either way is fine, just lemme know. thanks!

@andrewhsu
Copy link
Contributor

andrewhsu commented Dec 4, 2018

Looks like we still need changes to the docs to complete this issue:

@ahh-docker
Copy link
Contributor

Waiting for @mataneja, @mark-church, and @andrewhsu to review.

@craig-osterhout craig-osterhout added the area/storage Relates to storage, volumes label Aug 2, 2022
@docker-robott
Copy link
Collaborator

There hasn't been any activity on this issue for a long time.
If the problem is still relevant, mark the issue as fresh with a /remove-lifecycle stale comment.
If not, this issue will be closed in 14 days. This helps our maintainers focus on the active issues.

Prevent issues from auto-closing with a /lifecycle frozen comment.

/lifecycle stale

@thaJeztah
Copy link
Member

.

@mat007
Copy link
Member

mat007 commented Nov 23, 2022

/remove-lifecycle stale
/lifecycle frozen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/storage Relates to storage, volumes lifecycle/frozen
Projects
None yet
Development

No branches or pull requests

11 participants