Repository navigation
graphdriver: promote overlay above vfs - #11962
Conversation
|
I would put it under aufs |
|
i'm game On Tue, Mar 31, 2015 at 4:28 PM, Michael Crosby [email protected]
|
|
what if we cherry-picked this |
a59e81c to
95e28e5
Compare
|
LGTM |
|
And it's checked first now. PTAL On Tue, Mar 31, 2015 at 4:28 PM, Vincent Batts [email protected]
|
|
LGTM |
|
@unclejack you ok w me cherry-picking into release? :) |
|
@jfrazelle Yes, everyone will be testing this anyway and it looks like overlay is the future. Everyone running new kernels with overlay is also going to be running more bleeding edge environments. Most current stable & production systems have older kernels anyway. |
|
\o/ |
|
So right now this is above aufs, which means anyone using aufs that upgrades (and has a newer kernel) will have to force aufs (including b2d users). |
|
cute. ... On Tue, Mar 31, 2015 at 4:56 PM, Brian Goff [email protected]
|
|
@cpuguy83 Kernels with overlay support aren't patched for aufs anyway. |
|
overlay is better than aufs |
|
@unclejack b2d is. |
|
i think we should use overlay in b2d then, but I am not in charge of that decision, unsure who is |
|
how about we put it lower, until we vet out things like b2d (which i On Tue, Mar 31, 2015 at 5:00 PM, Brian Goff [email protected]
|
|
Sounds like a big change; promoting an "experimental" driver to become the "default" driver.. |
|
well this is the only driver that works as graphdriver in graphdriver ie, overlay in overlay |
|
also it is something we have been talking about for awhile https://jenkins.dockerproject.com/job/Docker%20Master%20(overlay%20on%20overlay)/ |
|
I'm ok with it, but I think we need to make sure people know. |
|
Well, I like this for new installs! but I share @cpuguy83 concerns for people with existing installs ("where are my containers?!!") |
|
This applies to all other graph drivers, including devicemapper, btrfs and vfs. A system should detect and select the same graph driver as it was using previously. If b2d finds out that a certain graph driver has been used previously, it should use the same one. |
95e28e5 to
2c72ff1
Compare
|
How about; If (no prior driver && supported) -> overlay? |
|
what about above devmapper and vfs 👼 |
|
@jfrazelle i see what you did there, and imma let you finish, but |
👍 less troubleshooting for @vbatts |
|
lol ok well this is improvement nonetheless |
|
Put it above devicemapper |
|
@crosbymichael @jfrazelle but folks do use devicemapper, and it would make an upgrade be an outage event... still |
|
let's do this for 1.7.0, and not make a last minute 1.6.0 change be a breaking change for folks |
|
ok so merge this and i cherry-pick, then we merge another pr into master overlay is no. 1 hero |
|
k |
|
🎉 |
graphdriver: promote overlay above vfs
|
Yes! I got to poo on everyone's parade! |
|
New Github handle? |
|
Wouldn't the best fix be something like the following?
Of course, in the first and last of these, IMO we should fatal error like we do today on an invalid |
|
that sounds good, we should do that w the new patch :D to master On Tue, Mar 31, 2015 at 3:42 PM, Tianon Gravi [email protected]
|
|
I'm on it
|
|
Thanks @tianon, I think that summarizes/covers my earlier comments (albeit better written :)) |
Before this, a storage driver would be defaulted to based on the priority list, and only print a warning if there is state from other drivers. This meant a reordering of priority list would "break" users in an upgrade of docker, such that there images in the prior driver's state were now invisible. With this change, prior state is scanned, and if present that driver is preferred. As such, we can reorder the priority list, and after an upgrade, existing installs with prior drivers can have a contiguous experience, while fresh installs may default to a driver in the new priority list. Ref: moby#11962 (comment) Signed-off-by: Vincent Batts <[email protected]>
Before this, a storage driver would be defaulted to based on the priority list, and only print a warning if there is state from other drivers. This meant a reordering of priority list would "break" users in an upgrade of docker, such that there images in the prior driver's state were now invisible. With this change, prior state is scanned, and if present that driver is preferred. As such, we can reorder the priority list, and after an upgrade, existing installs with prior drivers can have a contiguous experience, while fresh installs may default to a driver in the new priority list. Ref: moby#11962 (comment) Signed-off-by: Vincent Batts <[email protected]>
Before this, a storage driver would be defaulted to based on the priority list, and only print a warning if there is state from other drivers. This meant a reordering of priority list would "break" users in an upgrade of docker, such that there images in the prior driver's state were now invisible. With this change, prior state is scanned, and if present that driver is preferred. As such, we can reorder the priority list, and after an upgrade, existing installs with prior drivers can have a contiguous experience, while fresh installs may default to a driver in the new priority list. Ref: moby#11962 (comment) Signed-off-by: Vincent Batts <[email protected]>
Before this, a storage driver would be defaulted to based on the priority list, and only print a warning if there is state from other drivers. This meant a reordering of priority list would "break" users in an upgrade of docker, such that there images in the prior driver's state were now invisible. With this change, prior state is scanned, and if present that driver is preferred. As such, we can reorder the priority list, and after an upgrade, existing installs with prior drivers can have a contiguous experience, while fresh installs may default to a driver in the new priority list. Ref: moby#11962 (comment) Signed-off-by: Vincent Batts <[email protected]>
Before this, a storage driver would be defaulted to based on the priority list, and only print a warning if there is state from other drivers. This meant a reordering of priority list would "break" users in an upgrade of docker, such that there images in the prior driver's state were now invisible. With this change, prior state is scanned, and if present that driver is preferred. As such, we can reorder the priority list, and after an upgrade, existing installs with prior drivers can have a contiguous experience, while fresh installs may default to a driver in the new priority list. Ref: moby#11962 (comment) Signed-off-by: Vincent Batts <[email protected]>
Before this, a storage driver would be defaulted to based on the priority list, and only print a warning if there is state from other drivers. This meant a reordering of priority list would "break" users in an upgrade of docker, such that there images in the prior driver's state were now invisible. With this change, prior state is scanned, and if present that driver is preferred. As such, we can reorder the priority list, and after an upgrade, existing installs with prior drivers can have a contiguous experience, while fresh installs may default to a driver in the new priority list. Ref: moby#11962 (comment) Signed-off-by: Vincent Batts <[email protected]>
Before this, a storage driver would be defaulted to based on the priority list, and only print a warning if there is state from other drivers. This meant a reordering of priority list would "break" users in an upgrade of docker, such that there images in the prior driver's state were now invisible. With this change, prior state is scanned, and if present that driver is preferred. As such, we can reorder the priority list, and after an upgrade, existing installs with prior drivers can have a contiguous experience, while fresh installs may default to a driver in the new priority list. Ref: moby#11962 (comment) Signed-off-by: Vincent Batts <[email protected]>
Before this, a storage driver would be defaulted to based on the priority list, and only print a warning if there is state from other drivers. This meant a reordering of priority list would "break" users in an upgrade of docker, such that there images in the prior driver's state were now invisible. With this change, prior state is scanned, and if present that driver is preferred. As such, we can reorder the priority list, and after an upgrade, existing installs with prior drivers can have a contiguous experience, while fresh installs may default to a driver in the new priority list. Ref: moby#11962 (comment) Signed-off-by: Vincent Batts <[email protected]>
It's about time to let folks not hit 'vfs', when 'overlay' is supported
on their kernel. Especially now that v3.18.y is a long-term kernel.
/cc @unclejack @jfrazelle
Signed-off-by: Vincent Batts [email protected]