Mounting /dev/ into the container via --volume /dev:/dev:rslave does not work with podman + crun, as it dies with:
Error: crun: chown `/dev/pts/22`: Operation not permitted: OCI permission denied
This is very closely related to the issue reported by containers/toolbox against crun (https://github.com/containers/crun/issues/1158) where a bug in crun was fixed and the suggested way how to expose a tty is to use --mount type=devpts,destination=/dev/pts,uid=$ID
Mounting /dev/ into the container via
--volume /dev:/dev:rslave
does not work with podman + crun, as it dies with:This is very closely related to the issue reported by containers/toolbox against crun (https://github.com/containers/crun/issues/1158) where a bug in crun was fixed and the suggested way how to expose a tty is to use
--mount type=devpts,destination=/dev/pts,uid=$ID