无法将 --pod 选项与 podman 一起使用

Unable to use --pod option with podman

我是 CentOS 上的 运行 podman,当我使用 --pod 选项时收到错误消息。

[user@server ~]$ podman pod create -n hello
[user@server ~]$ podman run --pod hello hello-world
ERRO[0035] error starting some container dependencies
ERRO[0035] "container_linux.go:370: starting container process caused: process_linux.go:459: container init caused: rootfs_linux.go:59: mounting \"sysfs\" to rootfs at \"/sys\" caused: operation not permitted: OCI permission denied"
Error: error starting some containers: internal libpod error

如果我不使用 --pod 选项,这将正常工作。
这是因为我使用了错误的选项吗?
或者它是 podman 中的错误?

这是服务器信息。

[user@server ~]$ cat /etc/redhat-release
CentOS Stream release 8
[user@server ~]$ podman -v
podman version 3.0.0-dev

[后记]
我把版本改成2.2.1,报错也改了。
然而,它仍然无法正常工作。

[user@server ~]$ podman run --pod hello hello-world
ERRO[0000] error starting some container dependencies
ERRO[0000] "selinux label is specified in config, but selinux is disabled or not supported: OCI runtime error"
Error: error starting some containers: internal libpod error
[user@server ~]$ podman -v
podman version 2.2.1

我在3.0.0-dev.
版本找到了错误的原因 原因是我没有安装crun.
这可以使用以下命令安装。

[user@server ~]$ sudo dnf install crun