Description
Commit 21c0a54 (#45698) introduced a hard-coded list of snapshotters (refCountedFileSystems) that we know need reference-counting. With containerd, the list of available snapshotters is not known (additional snapshotters may be installed on the system), so maintaining a hard-coded list is problematic to maintain.
|
// List of known filesystems that can't be re-mounted or have shared layers |
|
var refCountedFileSystems = []string{"fuse-overlayfs", "overlayfs", "stargz", "zfs"} |
We should consider to either;
Description
Commit 21c0a54 (#45698) introduced a hard-coded list of snapshotters (
refCountedFileSystems) that we know need reference-counting. With containerd, the list of available snapshotters is not known (additional snapshotters may be installed on the system), so maintaining a hard-coded list is problematic to maintain.moby/daemon/snapshotter/mount.go
Lines 15 to 16 in 54fcd40
We should consider to either;