Podman v6.0.0
Podman v6.0.0

原始链接: https://blog.podman.io/2026/07/introducing-podman-v6-0-0/

Podman v6.0.0 现已发布。此次重大更新标志着项目在基础设施现代化、安全性提升以及优化用户体验方面迈出了重要一步。 主要更新包括: * **网络现代化:** 网络栈已迁移至 Netavark、Pasta 和 nftables,从而简化了维护工作并支持了多项新功能。 * **Podman Machine:** 提供了更无缝的多提供商体验,并引入了新的指令以简化虚拟机操作系统的更新。 * **Quadlet 演进:** 进行了重大改进,包括支持 REST API、增强了文件追踪能力,并扩展了卷单元(volume unit)功能。 * **配置与兼容性:** 更新后的配置处理机制提高了多用户环境下的可靠性;进一步完善的 Docker API 支持,使从 Docker 的迁移过程变得比以往更加顺畅。 该版本已发布在 GitHub 上,并将很快登陆各软件包管理器。此更新凝聚了社区数月以来的努力;开发团队鼓励用户积极体验新功能并提供反馈。有关更改的完整列表,请参阅官方发布说明及博客。

关于 Podman v6.0.0 的 Hacker News 讨论凸显了一场反复出现的争论:为什么 Podman 尽管具备架构优势,却难以达到 Docker 那样的普及程度。 **核心观点:** * **Docker 的优势:** Docker 受益于“先发优势”、卓越的品牌效应以及无处不在的文档。用户非常看重 Docker Compose “开箱即用”的体验,它提供了一种可移植的、标准化的方式来管理应用栈。 * **Podman 的阻力:** 批评者认为 Podman 的用户体验过于“繁琐”。迁移过程通常需要手动配置 systemd 单元文件、管理 Quadlet,或处理无根(rootless)模式下的权限问题,这对不精通 Linux 管理的开发者来说构成了巨大的障碍。 * **支持 Podman 的理由:** 拥护者称赞 Podman 更安全(默认无根)、运行速度更快,并且与 Linux 标准工具(如 systemd)集成得更好。他们认为 Docker 静默修改 iptables 的行为及其基于守护进程的架构存在缺陷。 * **结论:** 许多用户通过将 Docker CLI 别名化(alias)或利用 AI 工具辅助配置来成功使用 Podman。虽然一些人认为它是无缝且轻量级的替代方案,但另一些人因其边缘兼容性问题(特别是在 macOS 或异构团队环境下的网络及卷权限问题)而选择避开它。
相关文章

原文

We’re thrilled to announce that Podman v6.0.0 is now available! This major release brings a host of significant improvements and new features designed to enhance your container management experience. You can find the latest release on our GitHub, and it will be rolling out to your favorite package managers very soon.

Many thanks to all our contributors who helped make this release possible, especially new contributors!

Podman v6.0.0 is the result of months of work to modernize the project’s core infrastructure, enhance security, and improve user experience.  Here are some of the key highlights:

  • Modernized Networking: We’ve made significant strides in modernizing Podman’s network infrastructure. This release transitions slirp4netns, and iptables towards Netavark, Pasta, and nftables, streamlining our networking stack to simplify maintenance and enable future features. Experimental support has been added for Pesto rootless port forwarding, which does support preserving the correct source ip for rootless containers on custom networks.
  • Enhanced podman machine Capabilities: Podman Machine now offers a more seamless multi-provider experience, making it easier to work across different VM providers. It also introduces the new podman machine os update command, which helps keep your VM environments up to date. There are many more improvements than we can cover here, and we’ll take a closer look at some of them in future posts.
  • Quadlet Evolution: Quadlets have received a major overhaul, including REST API support, improved tracking of associated files for easier management, expanded features for .volume units, and additional search paths for easier distribution packaging.
  • Podman Config Files Changes: Podman’s updated configuration file handling provides a smoother, more reliable experience for administrators managing multi-user environments.Please see this blog for exact details.
  • Compatibility Improvements: Podman continues to improve Docker compatibility by updating its Docker API support and refining its command output.  Together, these make transitioning from Docker easier than ever.
  • For a full list of changes, please see the release notes.

We’re excited to share Podman v6.0.0 with everyone! We encourage you to try the new release, explore its features, and provide feedback. Your contributions and insights are invaluable to the continued growth and success of the Podman project.

This release wouldn’t be possible without our amazing community. We’re incredibly grateful to everyone who contributed to this cycle and thank you for being a part of the Podman community.

联系我们 contact @ memedata.com