发布日期: 2026-07-08
版本号: v6.0.1

本次更新主要修复了多个系统相关的错误:修复了在Mac上使用libkrun提供程序的Podman Machine虚拟机可能被主机的端口扫描进程意外关闭的问题;修复了在Windows主机上使用Hyper-V提供程序时,若未安装WSL则podman machine init命令会失败的问题,以及当用户是Hyper-V管理员但Hyper-V被禁用时,使用WSL提供程序也会失败的问题;修复了传递--log-level=debug参数时,OCI运行时的错误消息有时无法显示的问题;修复了podman machine os upgrade命令无法正常执行的问题;修复了podman machine使用的默认镜像缓存不正确的问题;修复了在Windows上使用WSL提供程序时,rootful Podman Machine虚拟机无法启动的问题;修复了不支持--replace选项的命令在错误提示中会错误建议使用该选项的问题;还修复了Pasta根用户无端口转发工具(通过rootless_port_forwarder=pasta启用)在容器重启和网络重载时无法正确清理规则,导致流量转发失败的问题。

更新内容 (中文)

缺陷修复

  • 修复了在Mac上使用libkrun提供程序的Podman Machine虚拟机可能因主机上端口扫描进程意外发出关闭指令而被定期关闭的错误。
  • 修复了在Windows主机上使用hyperv提供程序时,podman machine init命令在未安装WSL的情况下会失败的问题(#29053)。
  • 修复了在Windows主机上使用wsl提供程序时,podman machine init命令在用户为Hyper-V管理员但Hyper-V已禁用的情况下会失败的问题(#29138)。
  • 修复了当向Podman传递--log-level=debug参数时,OCI运行时的错误消息有时未被显示的问题。
  • 修复了podman machine os upgrade命令无法正常执行的问题(#29085)。
  • 修复了podman machine使用的默认镜像未被正确缓存的问题(#29090)。
  • 修复了在Windows上使用wsl提供程序的rootful Podman Machine虚拟机无法启动的问题(#29003)。
  • 修复了不支持--replace选项的命令会在错误消息中错误地建议使用该选项的问题(#24537)。
  • 修复了Pesto rootless端口转发工具(通过rootless_port_forwarder=pasta启用)在容器重启和网络重载时未能正确清理规则,导致流量转发失败的问题(#29032)。

更新内容 (原始)

Bugfixes

  • Fixed a bug where Podman Machine VMs on Mac using the libkrun provider could be regularly turned off by a port-scanning process on the host unintentionally commanding the VM to shut down.
  • Fixed a bug where the podman machine init command would fail on Windows hosts when using the hyperv provider when WSL was not installed (#29053).
  • Fixed a bug where the podman machine init command would fail on Windows hosts when using the wsl provider when the user was a Hyper-V admin but Hyper-V is disabled (#29138).
  • Fixed a bug where error messages from the OCI runtime were sometimes not displayed when --log-level=debug was passed to Podman.
  • Fixed a bug where the podman machine os upgrade command did not function properly (#29085).
  • Fixed a bug where the default image used by podman machine was not being properly cached (#29090).
  • Fixed a bug where rootful Podman Machine VMs on Windows using the wsl provider would fail to start (#29003).
  • Fixed a bug where commands that did not support the --replace option would incorrectly suggest using that option in error messages (#24537).
  • Fixed a bug where the Pesto rootless port forwarding tool (enabled by rootless_port_forwarder=pasta) did not properly clean up rules on container restart and network reload, causing failures to forward traffic (#29032).

下载链接