F40 Change Proposal: Podman 5 (Self-Contained)

Podman 5

This is a proposed Change for Fedora Linux.
This document represents a proposed Change. As part of the Changes process, proposals are publicly announced in order to receive community feedback. This proposal will only be implemented if approved by the Fedora Engineering Steering Committee.


:link: Summary

Ship Podman 5 in Fedora 40.

:link: Owner

:link: Detailed Description

:link: Feedback

:link: Benefit to Fedora

Podman 5 will:

  • No longer support cgroups v1
  • Deprecate CNI plugins
  • Deprecate Boltdb
  • Have passt as the default rootless network service instead of slirp4netns
  • Support stable --format Go template structs
  • Isolate podman bindings leading to improved usability
  • Allow better handling of containers.conf

:link: Scope

  • Proposal owners:

  • Other developers:

  • Release engineering: #Releng issue number

  • Policies and guidelines: N/A (not needed for this Change)

  • Trademark approval: N/A (not needed for this Change)

  • Alignment with Community Initiatives:

:link: Upgrade/compatibility impact

Podman 5 will come with breaking changes affecting upgradability:

  • CGroups v1 environments will be required to switch to CGroups v2
  • CNI plugin environemnts will need to switch to netavark
  • Changes in --format Go template structs

:link: How To Test

Probably best handled in a Podman Test Day aligned with Fedora 40 Test Days.

  • Install Fedora 40
  • Install Podman 5
  • Run test cases / suite (TBD)

:link: User Experience

Podman 5 will provide better usability of Podman bindings, easier to maintain containers.conf and other configuration files along with database performance improvements and CLI enhancements.

:link: Dependencies

Projects / Packages likely to be affected:

  • Cockpit
  • CoreOS
  • Toolbox
  • Silverblue / Kinoite
  • Podman Desktop

:link: Contingency Plan

  • Contingency mechanism: (What to do? Who will do it?) N/A (not a System Wide Change)
  • Contingency deadline: N/A (not a System Wide Change)
  • Blocks release? N/A (not a System Wide Change), Yes/No

:link: Documentation

N/A (not a System Wide Change)

:link: Release Notes

This change proposal has now been submitted to FESCo with ticket #3126 for voting.

To find out more, please visit our Changes Policy documentation.

Hopefully after this lands, release notes would get populated with all the changes/what users can expect?

How common is it for people to have CGroups v1 environments?

Really hard to tell.

As of two years ago, at least some. But, it seems like it might be broken on F38+ anyway? Fedora 38: Cannot use cgroupv1 due to systemd-oom

FWIW, the first release of systemd in 2023 will also most likely drop support for v1 (https://raw.githubusercontent.com/systemd/systemd/v255/NEWS, Β§2).

What’s the targeted release date for Podman 5?