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:
parent
a9a9a43962
commit
f8f398bb3c
|
@ -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" \
|
||||
"$@"
|
||||
|
|
Loading…
Reference in New Issue