Rob*_*n G 5 spring intellij-idea docker devops podman
我正在尝试使用 Podman 在 IntelliJ 中构建 Spring Boot 项目的映像。Jetbrain 的指南建议在构建、执行、部署 > Docker 中“选择 TCP 套接字并在引擎 API URL 中指定 Podman API 服务 URL”(请参阅 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"
Run Code Online (Sandbox Code Playgroud)
我找不到任何更新服务器版本的解决方案。欢迎任何建议!谢谢。
由于podman版本升级,面临同样的问题。
似乎需要降级版本才能恢复容器,但尚未尝试过。
这个问题指向删除机器并重新创建它,但容器会丢失
https://github.com/containers/podman/issues/13510
| 归档时间: |
|
| 查看次数: |
3199 次 |
| 最近记录: |