Releases: containers/podman
Releases · containers/podman
v5.2.0-RC2
Features
- Quadlet now has support for 
.buildfiles, which allows images to be built by Quadlet and then used by Quadlet containers. - Quadlet 
.containerfiles now support two new fields,LogOptto specify container logging configuration andStopSignalto specify container stop signal (#23050). - Quadlet 
.containerand.podfiles now support a new field,NetworkAlias, to add network aliases. - Quadlet drop-in search paths have been expanded to include top-level type drop-ins (
container.d,pod.d) and truncated unit drop-ins (unit-.container.d) (#23158). - Podman now supports a new command, 
podman system check, which will identify (and, if possible, correct) corruption within local container storage. - The 
podman machine resetcommand will now reset all providers available on the current operating system (e.g. ensuring that both HyperV and WSLpodman machineVMs will be removed on Windows). 
Changes
- Podman now requires the new kernel mount API, introducing a dependency on Linux Kernel v5.2 or higher.
 - Quadlet 
.imageunits now have a dependency onnetwork-online.target(#21873). - The 
--deviceoption topodman createandpodman runis no longer ignored when--privilegedis also specified (#23132). - The 
podman startandpodman stopcommands no longer print the full ID of the pod started/stopped, but instead the user's input used to specify the pod (e.g.podman pod start bwill printbinstead of the pod's full ID) (#22590). - Virtual machines created by 
podman machineon Linux now usevirtiofsinstead of9pfor mounting host filesystems. Existing mounts will be transparently changed on machine restart or recreation. This should improve performance and reliability of host mounts. - Using both the 
--squashand--layers=falseoptions topodman buildat the same time is now allowed. - Podman now passes container's stop timeout to systemd when creating cgroups, causing it to be honored when systemd stops the scope. This should prevent hangs on system shutdown due to running Podman containers.
 - The 
--volume-driveroption topodman machine initis now deprecated. 
Bugfixes
- Fixed a bug where rootless containers created with the 
--sdnotify=healthyoption could panic when started (#22651). - Fixed a bug where containers created with the 
--sdnotify=healthyoption that exited quickly would sometimes return an error instead of notifying that the container was ready (#22760). - Fixed a bug where the 
podman system resetcommand did not remove the containers/image blob cache (#22825). - Fixed a bug where Podman would sometimes create a cgroup for itself even when the 
--cgroups=disabledoption was specified at container creation time (#20910). - Fixed a bug where the 
/etc/hostsfile in a container was not created with a newline at the end of the file (#22729). - Fixed a bug where the 
podman startcommand could sometimes panic when starting a container in the stopped state. - Fixed a bug where the 
podman system renumbercommand would fail if volumes existed when using thesqlitedatabase backend (#23052). - Fixed a bug where the 
podman container restorecommand could not successfully restore a container in a pod. - Fixed a bug where an error message from 
podman diffwould suggest using the--latestoption when using the remote Podman client (#23038). - Fixed a bug where user could assign more memory to a Podman machine than existed on the host (#18206).
 - Fixed a bug where the 
podman eventscommand was rarely unable to report errors that occurred (#23165). - Fixed a bug where containers run in systemd units would sometimes not be removed correctly on exit when using the 
--cidfileoption. - Fixed a bug where the first Podman command run after a reboot could cause hang when using transient mode (#22984).
 - Fixed a bug where Podman could throw errors about a database configuration mismatch if certain paths did not exist on the host.
 - Fixed a bug where the 
podman runandpodman startcommands could throw strange errors if another Podman process stopped the container at a midpoint in the process of starting (#23246). - Fixed a bug where the 
podman system servicecommand could leak a mount on termination. - Fixed a bug where the Podman remote client would panic if an invalid image filter was passed to 
podman images(#23120). - Fixed a bug where the 
podman auto-updateandpodman system dfcommands could fail when a container was removed while the command was running (#23279). - Fixed a bug where the 
podman machine initcommand could panic when trying to decompress an empty file when preparing the VM image (#23281). - Fixed a bug where the 
podman ps --podandpodman pod statscommands could sometimes fail when a pod was removed while the command was running (#23282). - Fixed a bug where the 
podman statsandpodman pod statscommands would sometimes exit with acontainer is stoppederror when showing all containers (or pod containers, forpod stats) if a container stopped while the command was running (#23334). - Fixed a bug where the output of container healthchecks was not properly logged if it did not include a final newline (#23332).
 
API
- The Build API for Images now accepts a comma-separated list in the Platform query parameter, allowing a single API call to built an image for multiple architectures (#22071).
 - Fixed a bug where the Remove endpoint for Volumes would return an incorrectly formatted error when called with an ambiguous volume name (#22616).
 - Fixed a bug where the Stats endpoint for Containers would return an incorrectly formatted error when called on a container that did not exist (#22612).
 - Fixed a bug where the Start endpoint for Pods would return a 409 error code in cases where a 500 error code should have been returned (#22989).
 - Fixed a bug where the Top endpoint for Pods would return a 200 status code and then subsequently an error (#22986).
 
Misc
- Podman no longer requires all parent directories of its root and runroot to be world-executable (#23028).
 - Error messages from the 
podman buildcommand when the-foption is given, but points to a file that does not exist, have been improved (#22940). - The Podman windows installer is now built using WiX 5.
 
v5.2.0-rc1
This is the first release candidate of Podman v5.2.0. We are expecting final release at the end of this month after 3 RCs.
Preliminary release notes will be available next week with RC2.
v5.1.2
Bugfixes
- Fixed a bug that would sometimes prevent the mount of some 
podman machinevolumes into the virtual machine when using the Apple hypervisor (#22569). - Fixed a bug where 
podman topwould show the incorrect UID for processes in containers run in a user namespace (#22293). - Fixed a bug where the 
/etc/hostsand/etc/resolv.conffiles in a container would be empty after restoring from a checkpoint (#22901). - Fixed a bug where the 
--pod-id-fileargument topodman runandpodman createdid not respect the pod's user namespace (#22931). - Fixed a bug in the Podman remote client where specifying a invalid connection in the 
CONTAINER_CONNECTIONenvironment variable would lead to a panic. 
Misc
- Virtual machines run by 
podman machineusing the Apple hypervisor now wait 90 seconds before forcibly stopping the VM, matching the standard systemd shutdown timeout (#22515). - Updates the containers/image library to v5.31.1
 
v5.1.1
v4.9.5
Security
- This release addresses CVE-2024-3727, a vulnerability in the containers/image library which allows attackers to trigger authenticated registry access on behalf of the victim user.
 
API
- Fixed a bug in the Compat List endpoint for Networks which could result in a server crash due to concurrent writes to a map (#22330).
 
v5.1.0
Features
- VMs created by 
podman machineon macOS with Apple silicon can now use Rosetta 2 (a.k.a Rosetta) for high-speed emulation of x86 code. This is enabled by default. If you wish to change this option, you can do so incontainers.conf. - Changes made by the 
podman updatecommand are now persistent, and will survive container restart and be reflected inpodman inspect. - The 
podman updatecommand now includes a new option,--restart, to update the restart policy of existing containers. - Quadlet 
.containerfiles now support a new key,GroupAdd, to add groups to the container. - Container annotations are now printed by 
podman inspect. - Image-based mounts using 
podman run --mount type=image,...now support a new option,subpath, to mount only part of the image into the container. - A new field, 
healthcheck_events, has been added tocontainers.confunder the[engine]section to allow users to disable the generation ofhealth_statusevents to avoid spamming logs on systems with many healthchecks. - A list of images to automatically mount as volumes can now be specified in Kubernetes YAML via the 
io.podman.annotations.kube.image.automount/$CTRNAMEannotation (where$CTRNAMEis the name of the container they will be mounted into). - The 
podman infocommand now includes the default rootless network command (pastaorslirp4netns). - The 
podman pscommand now shows ports from--exposethat have not been published with--publish-allto improve Docker compatibility. - The 
podman runlabelcommand now expands$HOMEin the label being run to the user's home directory. - A new alias, 
podman network list, has been added to thepodman network lscommand. - The name and shell of containers created by 
podmanshcan now be set incontainers.conf. - The 
podman-setup.exeWindows installer now provides 3 new CLI variables,MachineProvider(choose the provider for the machine,windowsorwsl, the default),HyperVCheckbox(can be set to1to install HyperV if it is not already installed or0, the default, to not install HyperV), andSkipConfigFileCreation(can be set to1to disable the creation of configuration files, or0, the default). 
Changes
- Podman now changes volume ownership every time an empty named volume is mounted into a container, not just the first time, matching Docker's behavior.
 - When running Kubernetes YAML with 
podman kube playthat does not include animagePullPolicyand does not set a tag for the image, the image is now always pulled (#21211). - When running Kubernetes YAML with 
podman kube play, pod-level restart policies are now passed down to individual containers within the pod (#20903). - The 
--runrootglobal option can now accept paths with lengths longer than 50 characters (#22272). - Updating containers with the 
podman updatecommand now emits an event. 
Bugfixes
- Fixed a bug where the 
--userns=keep-id:uid=0option topodman createandpodman runwould generate incorrect UID mappings and cause the container to fail to start (#22078). - Fixed a bug where 
podman statscould report inaccurate percentages for very large or very small values (#22064). - Fixed a bug where bind-mount volumes defaulted to 
rbindinstead ofbind, meaning recursive mounts were allowed by default (#22107). - Fixed a bug where the 
podman machine rm -fcommand would fail to remove Hyper-V virtual machines if they were running. - Fixed a bug where the 
podman ps --synccommand could sometimes fail to properly update the status of containers. - Fixed a bug where bind-mount volumes using the 
:idmapoption would sometimes be inaccessible with rootless Podman (#22228). - Fixed a bug where bind-mount volumes using the 
:Uoption would have their ownership changed to the owner of the directory in the image being mounted over (#22224). - Fixed a bug where removing multiple containers, pods, or images with the 
--forceoption did not work when multiple arguments were given to the command and one of them did not exist (#21529). - Fixed a bug where Podman did not properly clean up old cached Machine images.
 - Fixed a bug where rapidly-restarting containers with healthchecks could sometimes fail to start their healthchecks after restarting.
 - Fixed a bug where nested Podman could create its 
pause.pidfile in an incorrect directory (#22327). - Fixed a bug where Podman would panic if an OCI runtime was configured without associated paths in 
containers.conf(#22561). - Fixed a bug where the 
podman kube downcommand would not respect theStopTimeoutandStopSignalof containers that it stopped (#22397). - Fixed a bug where Systemd-managed containers could be stuck in the Stopping state, unable to be restarted, if systemd killed the unit before 
podman stopfinished stopping the container (#19629). - Fixed a bug where the remote Podman client's 
podman farm buildcommand would not updating manifests on the registry that were already pushed (#22647). - Fixed a bug where rootless Podman could fail to re-exec itself when run with a custom 
argv[0]that is not a valid command path, as might happen when used inpodmansh(#22672). - Fixed a bug where 
podman machineconnection URIs could be incorrect after an SSH port conflict, rendering machines inaccessible. - Fixed a bug where the 
podman eventscommand would not print an error if incorrect values were passed to its--sinceand--untiloptions. - Fixed a bug where an incorrect 
host.containers.internalentry could be added when running rootless containers using thebridgenetwork mode (#22653). 
API
- A new Docker-compatible endpoint, Update, has been added for containers.
 - The Compat Create endpoint for Containers now supports setting container annotations.
 - The Libpod List endpoint for Images now includes additional information in its responses (image architecture, OS, and whether the image is a manifest list) (#22184 and #22185).
 - The Build endpoint for Images no longer saves the build context as a temporary file, substantially improving performance and reducing required filesystem space on the server.
 - The Inspect API for Containers now returns results compatible with Podman v4.x when a request with version v4.0.0 is made. This allows Podman 4.X remote clients work with a Podman 5.X server (#22657).
 - Fixed a bug where the Build endpoint for Images would not clean up temporary files created by the build if an error occurred.
 
Misc
- Podman now detects unhandled system reboots and advises the user on proper mitigations.
 - Improved debugging output for 
podman machineon Darwin systems when--log-level=debugis used. - The Makefile now allows injecting extra build tags via the 
EXTRA_BUILD_TAGSenvironment variable. - Updated Buildah to v1.36.0
 - Updated the containers/common library to v0.59.0
 - Updated the containers/image library to v5.31.0
 - Updated the containers/storage library to v1.54.0
 
v5.1.0-RC1
This is the first release candidate for Podman v5.1.0. We expect the final release in 2 weeks (May 29 2024). Preliminary release notes follow.
Features
- Changes made by the 
podman updatecommand are now persistent, and will survive container restart and be reflected inpodman inspect. - The 
podman updatecommand now includes a new option,--restart, to update the restart policy of existing containers. - Quadlet 
.containerfiles now support a new key,GroupAdd, to add groups to the container. - Container annotations are now printed by 
podman inspect. - Image-based mounts using 
podman run --mount type=image,...now support a new option,subpath, to mount only part of the image into the container. - A new field, 
healthcheck_events, has been added tocontainers.confunder the[engine]section to allow users to disable the generation ofhealth_statusevents to avoid spamming logs on systems with many healthchecks. - A list of images to automatically mount as volumes can now be specified in Kubernetes YAML via the 
io.podman.annotations.kube.image.automount/$CTRNAMEannotation (where$CTRNAMEis the name of the container they will be mounted into). - The 
podman infocommand now includes the default rootless network command (pastaorslirp4netns). - The 
podman pscommand now shows ports from--exposethat have not been published with--publish-allto improve Docker compatibility. - The 
podman runlabelcommand now expands$HOMEin the label being run to the user's home directory. - A new alias, 
podman network list, has been added to thepodman network lscommand. 
Changes
- When running Kubernetes YAML with 
podman kube playthat does not include animagePullPolicyand does not set a tag for the image, the image is now always pulled (#21211). - When running Kubernetes YAML with 
podman kube play, pod-level restart policies are now passed down to individual containers within the pod (#20903). - The 
--runrootglobal option can now accept paths with lengths longer than 50 characters (#22272). - Updating containers with the 
podman updatecommand now emits an event. 
Bugfixes
- Fixed a bug where the 
--userns=keep-id:uid=0option topodman createandpodman runwould generate incorrect UID mappings and cause the container to fail to start (#22078). - Fixed a bug where 
podman statscould report inaccurate percentages for very large or very small values (#22064). - Fixed a bug where bind-mount volumes defaulted to 
rbindinstead ofbind, meaning recursive mounts were allowed by default (#22107). - Fixed a bug where the 
podman machine rm -fcommand would fail to remove Hyper-V virtual machines if they were running. - Fixed a bug where the 
podman ps --synccommand could sometimes fail to properly update the status of containers. - Fixed a bug where bind-mount volumes using the 
:idmapoption would sometimes be inaccessible with rootless Podman (#22228). - Fixed a bug where bind-mount volumes using the 
:Uoption would have their ownership changed to the owner of the directory in the image being mounted over (#22224). - Fixed a bug where removing multiple containers, pods, or images with the 
--forceoption did not work when multiple arguments were given to the command and one of them did not exist (#21529). - Fixed a bug where Podman did not properly clean up old cached Machine images.
 - Fixed a bug where rapidly-restarting containers with healthchecks could sometimes fail to start their healthchecks after restarting.
 - Fixed a bug where nested Podman could create its 
pause.pidfile in an incorrect directory (#22327). - Fixed a bug where Podman would panic if an OCI runtime was configured without associated paths in 
containers.conf(#22561). - Fixed a bug where the 
podman kube downcommand would not respect theStopTimeoutandStopSignalof containers that it stopped (#22397). - Fixed a bug where Systemd-managed containers could be stuck in the Stopping state, unable to be restarted, if systemd killed the unit before 
podman stopfinished stopping the container (#19629). - Fixed a bug where the remote Podman client's 
podman farm buildcommand would not updating manifests on the registry that were already pushed (#22647). - Fixed a bug where rootless Podman could fail to re-exec itself when run with a custom 
argv[0]that is not a valid command path, as might happen when used inpodmansh(#22672). - Fixed a bug where 
podman machineconnection URIs could be incorrect after an SSH port conflict, rendering machines inaccessible. - Fixed a bug where the 
podman eventscommand would not print an error if incorrect values were passed to its--sinceand--untiloptions. 
API
- A new Docker-compatible endpoint, Update, has been added for containers.
 - The Compat Create endpoint for Containers now supports setting container annotations.
 - The Libpod List endpoint for Images now includes additional information in its responses (image architecture, OS, and whether the image is a manifest list) (#22184 and #22185).
 - The Build endpoint for Images no longer saves the build context as a temporary file, substantially improving performance and reducing required filesystem space on the server.
 - Fixed a bug where the Build endpoint for Images would not clean up temporary files created by the build if an error occurred.
 
Misc
- Podman now detects unhandled system reboots and advises the user on proper mitigations.
 - Improved debugging output for 
podman machineon Darwin systems when--log-level=debugis used. - The Makefile now allows injecting extra build tags via the 
EXTRA_BUILD_TAGSenvironment variable. 
v5.0.3
Security
- This release addresses CVE-2024-3727, a vulnerability in the containers/image library which allows attackers to trigger authenticated registry access on behalf of the victim user.
 
Bugfixes
- Fixed a bug where 
podman machine startwould fail if the machine had a volume with a long target path (#22226). - Fixed a bug where 
podman machine startmounted volumes with paths that included dashes in the wrong location (#22505). 
Misc
- Updated Buildah to v1.35.4
 - Updated the containers/common library to v0.58.3
 - Updated the containers/image library to v5.30.1
 
v5.0.2
Bugfixes
- Fixed a bug that could leak IPAM entries when a network was removed (#22034).
 - Fixed a bug that could cause the rootless network namespace to not be cleaned up on if an error occurred during setup resulting in errors relating to a missing resolv.conf being displayed (#22168).
 - Fixed a bug where Podman would use rootless network namespace logic for nested containers (#22218).
 - Fixed a bug where writing to volumes on a Mac could result in EACCESS failures when using the 
:zor:Zvolume mount options on a directory with read only files (#19852) 
API
- Fixed a bug in the Compat List endpoint for Networks which could result in a server crash due to concurrent writes to a map (#22330).
 
v5.0.1
Bugfixes
- Fixed a bug where rootless containers using the Pasta network driver did not properly handle localhost DNS resolvers on the host leading to DNS resolution issues (#22044).
 - Fixed a bug where Podman would warn that cgroups v1 systems were no longer supported on FreeBSD hosts.
 - Fixed a bug where HyperV 
podman machineVMs required an SSH client be installed on the system (#22075). - Fixed a bug that prevented the remote Podman client's 
podman buildcommand from working properly when connecting from a rootless client to a rootful server (#22109). 
Misc
- The HyperV driver to 
podman machinenow fails immediately if admin privileges are not available (previously, it would only fail when it reached operations that required admin privileges).