5.4.2

Latest release in branch 5.4
Released 1 year ago (May 25, 2024)

Software Podman
Branch 5.4
First official release version 5.4.0
First official release date 1 year ago (May 05, 2024)
Release notes https://github.com/containers/podman/releases/tag/v5.4.0
Source code https://github.com/containers/podman
Documentation https://podman.io/docs/
Download https://podman.io/docs/installation
Podman 5.4 Releases View full list

What is new in Podman 5.4

Podman 5.4 introduces early preview support for OCI artifacts and significantly expands the podman update command with many new healthcheck options. It also adds useful features for volumes, user namespaces, Kubernetes device support, and Quadlet configuration while improving network handling and machine setup.

Having deployed Podman in large-scale environments for years, I find the new artifact tools and healthcheck updates particularly valuable for modern container workflows and maintenance tasks.

Major New Features in Podman 5.4

Feature Description
OCI Artifacts (Preview) New podman artifact command suite including add, inspect, ls, pull, push, and rm. This early preview enables working with OCI artifacts.
Healthcheck Updates podman update now supports 15 new options for healthchecks, such as --health-cmd to set a new command and --no-healthcheck to disable one.
Volume Mounts --mount type=volume now accepts subpath= to expose only a subdirectory of the volume inside the container.
User Namespace --userns=keep-id supports size= option to set the user namespace size.
Kubernetes Support podman kube play now supports Container Device Interface (CDI) devices.

Podman Machine and Network Improvements

Podman 5.4 makes virtual machine setup more flexible:

  • podman machine init adds --playbook to run an Ansible playbook on first boot.
  • New --hosts-file option for podman run, podman create, and podman pod create to specify the base /etc/hosts file.
  • --no-hostname option disables creation of /etc/hostname inside containers.
  • podman network create supports --opt mode=unmanaged for bridge networks to use existing system bridges.
  • --network option now accepts host_interface_name for bridge networks.

Quadlet Enhancements

Quadlet support continues to improve with better compatibility:

  • New ShmSize field in .pod units to set the size of shared memory for the pod.
  • Comment parsing corrected to follow systemd rules -- only # and ; are valid comment characters (colon : is no longer supported as a comment).

Other Useful Additions

Additional improvements include:

  • podman manifest rm --ignore to skip errors for non-existent manifests.
  • podman system prune --build to clean up leftover build containers.
  • podman events now generates events for network creation and removal.
  • Container hostnames are now passed to Netavark for DHCP requests.

Important Notes and Changes

Due to limited testing hardware, Podman no longer offers full support for Intel-based Macs. Binaries and images continue to be built, but fixes will be on a best-effort basis.

Partial pulls for zstd:chunked images are now more reliable, and packagers can set the BUILD_ORIGIN environment variable during builds for better traceability in podman version and podman info.

Bug Fixes in Podman 5.4

This release addresses many stability issues:

  • Fixed WSL machine startup port conflicts with usermode networking.
  • Corrected overlay mounts at image volume paths and podman build handling of no_pivot_root.
  • Improved podman cp behavior with fresh volumes and stopped containers.
  • Fixed resource limit handling when running without CAP_SYS_RESOURCE and in remote client scenarios.
  • Resolved issues with Quadlet parsing, subfolder support for non-root users, and network reuse in units.
  • Fixed podman generate kube volume naming for Kubernetes compatibility and several inspect and stats command problems.

Dependency Updates

Component Updated To
Buildah v1.39.0
containers/common v0.62.0
containers/storage v1.57.1
containers/image v5.34.0

Frequently Asked Questions about Podman 5.4

What is the new OCI artifact support in Podman 5.4?

It is an early preview with commands like podman artifact add, inspect, pull, and more. The interface may still change based on user feedback.

How can I update healthchecks on existing containers?

Use podman update with the new healthcheck options such as --health-cmd or --no-healthcheck.

What changed with Quadlet comments in Podman 5.4?

Only # and ; are now valid comment characters to match systemd behavior. The colon : is no longer treated as a comment.

Is Podman 5.4 still supported on Intel Macs?

Binaries are still provided, but support is now best-effort only due to limited testing resources.

Summary of Podman 5.4

Podman 5.4 delivers early OCI artifact tools, powerful healthcheck management through podman update, and many practical enhancements for volumes, networks, machines, and Quadlets. Numerous bug fixes improve reliability across local, remote, and Kubernetes use cases.

Releases In Branch 5.4

Version Release date
5.4.2 1 year ago
(May 25, 2024)
5.4.1 1 year ago
(May 15, 2024)
5.4.0 1 year ago
(May 05, 2024)
5.4.0-rc1 1 year ago
(April 30, 2024)