Merge pull request #2390 from ktock/overlaydiff-fuse-overlayfs
Do not enable overlayfs differ for fuse-overlayfs-snapshottermaster
commit
ee1ad6893a
|
@ -126,8 +126,13 @@ func computeBlobChain(ctx context.Context, sr *immutableRef, createIfNeeded bool
|
||||||
} else if !isTypeWindows(sr) {
|
} else if !isTypeWindows(sr) {
|
||||||
enableOverlay, fallback = true, true
|
enableOverlay, fallback = true, true
|
||||||
switch sr.cm.ManagerOpt.Snapshotter.Name() {
|
switch sr.cm.ManagerOpt.Snapshotter.Name() {
|
||||||
case "overlayfs", "fuse-overlayfs", "stargz":
|
case "overlayfs", "stargz":
|
||||||
logWarnOnErr = true // snapshotter should support overlay diff. so print warn log on failure
|
// overlayfs-based snapshotters should support overlay diff. so print warn log on failure.
|
||||||
|
logWarnOnErr = true
|
||||||
|
case "fuse-overlayfs":
|
||||||
|
// not supported with fuse-overlayfs snapshotter which doesn't provide overlayfs mounts.
|
||||||
|
// TODO: add support for fuse-overlayfs
|
||||||
|
enableOverlay = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if enableOverlay {
|
if enableOverlay {
|
||||||
|
|
Loading…
Reference in New Issue