With rootless podman, I do:
$ podman run --runtime krun --device /dev/fuse quay.io/podman/stable podman run alpine echo hello
Resolved "alpine" as an alias (/etc/containers/registries.conf.d/000-shortnames.conf)
Trying to pull docker.io/library/alpine:latest...
Getting image source signatures
Copying blob sha256:6a0ac1617861a677b045b7ff88545213ec31c0ff08763195a70a4a5adda577bb
Copying config sha256:3cb067eab609612d81b4d82ff8ad71d73482bb3059a87b642d7e14f0ed659cde
Writing manifest to image destination
Error: OCI runtime error: crun: mount `mqueue` to `dev/mqueue`: No such device
$ podman run --runtime krun --device /dev/fuse quay.io/podman/stable podman run --mount type=bind,source=/dev/null,target=/dev/mqueue alpine echo hello
Resolved "alpine" as an alias (/etc/containers/registries.conf.d/000-shortnames.conf)
Trying to pull docker.io/library/alpine:latest...
Getting image source signatures
Copying blob sha256:6a0ac1617861a677b045b7ff88545213ec31c0ff08763195a70a4a5adda577bb
Copying config sha256:3cb067eab609612d81b4d82ff8ad71d73482bb3059a87b642d7e14f0ed659cde
Writing manifest to image destination
hello
I have reported this to containers/libkrun but the question came up if maybe crun should just not mount /dev/mqueue if it is not available, since the OCI spec doesn't require it (see linked issue).
With rootless podman, I do:
I have reported this to containers/libkrun but the question came up if maybe crun should just not mount /dev/mqueue if it is not available, since the OCI spec doesn't require it (see linked issue).