Run with --device /dev/fuse and not just -v /dev/fuse:/dev/fuse

When passing /dev/fuse to a container, use --device instead of a plain
volume mount.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
This commit is contained in:
Nalin Dahyabhai 2025-06-17 09:20:41 -04:00
parent a9a9a43962
commit f8f398bb3c
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ in_podman() {
-e "CGROUP_MANAGER=cgroupfs" \
-v "$HOME/auth:$HOME/auth:ro" \
-v /sys/fs/cgroup:/sys/fs/cgroup:rw \
-v /dev/fuse:/dev/fuse:rw \
--device /dev/fuse:rwm \
-v "$GOSRC:$GOSRC:z" \
--workdir "$GOSRC" \
"$@"