Skip to content

Commit

Permalink
c8d: mark stargz as requiring reference-counted mounts
Browse files Browse the repository at this point in the history
The stargz snapshotter cannot be re-mounted, so the reference-counted
path must be used.

Co-authored-by: Djordje Lukic <djordje.lukic@docker.com>
Signed-off-by: Bjorn Neergaard <bjorn.neergaard@docker.com>
  • Loading branch information
neersighted and rumpl committed Jun 20, 2023
1 parent 66c497c commit 21c0a54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/snapshotter/mount.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
const mountsDir = "rootfs"

// List of known filesystems that can't be re-mounted or have shared layers
var refCountedFileSystems = []string{"overlayfs", "zfs", "fuse-overlayfs"}
var refCountedFileSystems = []string{"fuse-overlayfs", "overlayfs", "stargz", "zfs"}

// Mounter handles mounting/unmounting things coming in from a snapshotter
// with optional reference counting if needed by the filesystem
Expand Down

0 comments on commit 21c0a54

Please sign in to comment.