Podman 服务器 API 版本太旧。客户端“4.0.0” 服务器“3.4.4”

Podman server API version is too old. Client "4.0.0" server "3.4.4"

我正在尝试使用 Podman 在 IntelliJ 中构建 Spring 引导项目的映像。 Jetbrain 的指南建议“Select TCP 套接字并在引擎 API URL 中指定 Podman API 服务 URL”,在构建、执行、部署 > Docker(参见 https://www.jetbrains.com/help/idea/podman.html)。

但是,当提供在 Podman 的文档中找到的 TCP 套接字时(请参阅 https://docs.podman.io/en/latest/markdown/podman-system-service.1.html),IntelliJ 说它无法连接。

最后,当这里是终端中出现的错误时:

(base) abc ~ % podman ps
Cannot connect to Podman. Please verify your connection to the Linux system using `podman system connection list`, or try `podman machine init` and `podman machine start` to manage a new Linux VM
Error: unable to connect to Podman socket: server API version is too old. Client "4.0.0" server "3.4.4"

我找不到任何更新服务器版本的解决方案。 欢迎任何建议!谢谢。

Intellij screenshot

podman版本升级,遇到同样的问题

似乎需要降级版本才能恢复容器,但还没有尝试过。
这个问题指向删除机器并重新创建它,但是容器会丢失
https://github.com/containers/podman/issues/13510