Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

Update "aufs" to "overlay2" in several places #4558

Merged
merged 1 commit into from
Sep 19, 2018
Merged

Conversation

tianon
Copy link
Contributor

@tianon tianon commented Aug 13, 2018

Description

Update the default storage driver from aufs to overlay2.

Related issue(s)

Given that overlay2 has been preferred over aufs since 17.09.0 and that the next major releases of Docker Desktop will no longer include AUFS support and that AUFS has consistently been a source of pain around updating the kernel in boot2docker, this makes a lot of sense.

To be completely honest, I'm not sure I understand why Docker Machine is so explicit about choosing a graph driver instead of simply letting Docker autodetect/choose, but I'm sure there's context I'm missing (so this PR simply replaces aufs with overlay2 in several places). 👍 ❤️

@GordonTheTurtle

This comment has been minimized.

Signed-off-by: Tianon Gravi <admwiggin@gmail.com>
@afbjorklund
Copy link
Contributor

Shouldn't this be made conditional on the ISO version, or something ?

Not sure if there will any more releases, but the change makes sense...

@tianon
Copy link
Contributor Author

tianon commented Aug 15, 2018

IMO it makes sense to use overlay2 by default on any recent Docker version and kernel, but I can try to implement some kind of version-based logic if that's desired.

Alternatively we could try to remove a lot of this explicit graph driver choosing and let Docker itself DTRT, but with machine into maintenance-only mode, it seems like a bit much to make very drastic changes like that.

@afbjorklund
Copy link
Contributor

I suppose you could always use older versions of Machine for older versions of Docker.

afbjorklund added a commit to afbjorklund/minikube that referenced this pull request Sep 8, 2018
The "aufs" storage driver has been deprecated,
changed in Docker 17.09 for "overlay2" instead.

See docker/machine#4558

This only affects the "boot2docker" provisioner,
since it is already being used by "buildroot".

Closes kubernetes#3078
dlorenc pushed a commit to kubernetes/minikube that referenced this pull request Sep 10, 2018
The "aufs" storage driver has been deprecated,
changed in Docker 17.09 for "overlay2" instead.

See docker/machine#4558

This only affects the "boot2docker" provisioner,
since it is already being used by "buildroot".

Closes #3078
@shin- shin- added this to the 0.16.0 milestone Sep 19, 2018
@shin-
Copy link
Contributor

shin- commented Sep 19, 2018

LGTM - thanks guys!

@shin- shin- merged commit 7a9ce45 into docker:master Sep 19, 2018
@tianon tianon deleted the aufs branch September 20, 2018 00:42
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.

4 participants