Podman 集成

Podman 集成

因为我正在尝试将 podman 集成到 yocto 构建系统中,就像在 docker 中已经完成的那样。对于 docker,我没有遇到任何问题,只是按照以下步骤操作:https://elinux.org/images/b/b4/03_integrating-docker-containers-in-yocto.pdf

我还提到了这个:https://docs.podman.io/en/latest/markdown/podman-system-service.1.html#run-the-command-in-a-systemd-service

我使用的是arm64架构。

但在 podman 集成中,我遇到了无法解决的问题。

root@spider:~# systemctl status podman

  • podman.service - Podman API 服务

    已加载:已加载(/lib/systemd/system/podman.service;已启用;供应商预设:已启用)

    活动:自 UTC 2023 年 9 月 23 日星期六 15:30:51 起失败(结果:退出代码); 2 秒前 TriggeredBy: * podman.socket 文档: man:podman-system-service(1) 进程: 464 ExecStart=/usr/bin/podman $LOGGING 系统服务 (code=exited, status=125)

    主PID:464(代码=已退出,状态=125)

Spider systemd[1]:正在启动 Podman API 服务...

Spider systemd[1]:启动 Podman API 服务。

Spider podman[464]: time="2023-09-23T15:30:51Z" level=warning msg="无法解码密钥 ["storage.options.override_kernel_check" "storage.options.thinpool.ostre...storage .conf“。”

Spider podman[464]: time="2023-09-23T15:30:51Z" level=info msg="/usr/bin/podman 在日志级别信息进行过滤"

Spider podman[464]: time="2023-09-23T15:30:51Z" level=warning msg="Conmon at /usr/bin/conmon 无效:过时的 conmon 版本"

Spider podman[464]: time="2023-09-23T15:30:51Z" level=warning msg="/usr/bin/conmon 上的 Conmon 无效:过时的 conmon 版本"

Spider podman[464]:错误:请更新到 v2.0.24 或更高版本:过时的通用版本

Spider systemd[1]:podman.service:主进程已退出,代码=已退出,状态=125/n/a

Spider systemd[1]:podman.service:失败,结果为“退出代码”。提示:有些行被省略,使用 -l 完整显示。

我尝试使用 apt Upgrade conmon 更新 conmon,但无法解决此问题。试图找到其他需要 podman.sock 和 podman.service 的东西,但还没有弄清楚。你们能帮忙吗?该服务启动 3 秒,但之后终止。我需要无限期地运行它。或者启动podman服务后不掉线。

相关内容