Skip to content

Commit 35dacf0

Browse files
fix: specify container path and mode
1 parent d08a59d commit 35dacf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/infrastructure/container/docker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ func (d *dockerRuntime) RunContainer(ctx context.Context, runConfig *RunContaine
458458
// enable /dev/fuse explicitly for fuse-overlayfs
459459
// (Rootless Docker does not automatically mount /dev/fuse with --privileged)
460460
if d.mountFuse(info) {
461-
hostConfig.Devices = append(hostConfig.Devices, dockercontainer.DeviceMapping{PathOnHost: "/dev/fuse"})
461+
hostConfig.Devices = append(hostConfig.Devices, dockercontainer.DeviceMapping{PathOnHost: "/dev/fuse", PathInContainer: "/dev/fuse", CgroupPermissions: "rw"})
462462
}
463463

464464
// Make sure we have the image

0 commit comments

Comments
 (0)