linuxkit / linuxkit

A toolkit for building secure, portable and lean operating systems for containers
Apache License 2.0
8.28k stars 1.01k forks source link

default to overlay2 in master #392

Closed justincormack closed 8 years ago

justincormack commented 8 years ago

If the user has no mention of "storage-driver" in their daemon.json and has no /var/lib/docker/aufs directory, set storage driver to "overlay2".

This will mean users shift to overlay2 in new installs and after factory reset, but if they have aufs containers they will not be lost.

dsheets commented 8 years ago

Is this distinction visible in diagnostics?

justincormack commented 8 years ago

Yes, it is shown in docker info.

On 2 Aug 2016 6:25 p.m., "David Sheets" notifications@github.com wrote:

Is this distinction visible in diagnostics?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/docker/moby/issues/392#issuecomment-236959503, or mute the thread https://github.com/notifications/unsubscribe-auth/AAdcPGH8pbyRCG6Da2FdIHS-xXyTrZQqks5qb29XgaJpZM4JayzE .

friism commented 8 years ago

@justincormack can the toolbox upgrade/import still be accomplished? cc @ebriney

justincormack commented 8 years ago

That will mean there is an aufs directory, so it will use aufs after.

Longer term we may want to change how import works.

On 3 Aug 2016 00:50, "Michael Friis" notifications@github.com wrote:

@justincormack https://github.com/justincormack can the toolbox upgrade/import still be accomplished? cc @ebriney https://github.com/ebriney

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/docker/moby/issues/392#issuecomment-237073117, or mute the thread https://github.com/notifications/unsubscribe-auth/AAdcPP-76-k89epBBPw5sZLbi4wNoW82ks5qb8mngaJpZM4JayzE .

justincormack commented 8 years ago

Closed https://github.com/docker/moby/pull/396 as won't build Moby at present.

See also https://marc.info/?l=linux-unionfs&m=146914402027057&w=3 and https://bugzilla.kernel.org/show_bug.cgi?id=151291

justincormack commented 8 years ago

Working again, have been using for a few weeks with no issues.

nathanleclaire commented 8 years ago

nice

nathanleclaire commented 8 years ago

this is done i think

justincormack commented 8 years ago

yes! watching for issues on desktop, will take a while as the switch from aufs will be gradual.