Changes
- Due to a conflict with a previously-removed field, we were forced to modify the way image volumes (mounting images into containers using
--mount type=image) were handled in the database. As a result, containers created in Podman 2.2.0 with image volumes will not have them in v2.2.1, and these containers will need to be re-created.
Bugfixes
- Fixed a bug where rootless Podman would, on systems without the
XDG_RUNTIME_DIRenvironment variable defined, use an incorrect path for the PID file of the Podman pause process, causing Podman to fail to start (#8539). - Fixed a bug where containers created using Podman v1.7 and earlier were unusable in Podman due to JSON decode errors (#8613).
- Fixed a bug where Podman could retrieve invalid cgroup paths, instead of erroring, for containers that were not running.
- Fixed a bug where the
podman system resetcommand would print a warning about a duplicate shutdown handler being registered. - Fixed a bug where rootless Podman would attempt to mount
sysfsin circumstances where it was not allowed; some OCI runtimes (notablycrun) would fall back to alternatives and not fail, but others (notablyrunc) would fail to run containers. - Fixed a bug where the
podman runandpodman createcommands would fail to create containers from untagged images (#8558). - Fixed a bug where remote Podman would prompt for a password even when the server did not support password authentication (#8498).
- Fixed a bug where the
podman execcommand did not move the Conmon process for the exec session into the correct cgroup. - Fixed a bug where shell completion for the
ancestoroption topodman ps --filterdid not work correctly. - Fixed a bug where detached containers would not properly clean themselves up (or remove themselves if
--rmwas set) if the Podman command that created them was invoked with--log-level=debug.
API
- Fixed a bug where the Compat Create endpoint for Containers did not properly handle the
BindsandMountsparameters inHostConfig. - Fixed a bug where the Compat Create endpoint for Containers ignored the
Namequery parameter. - Fixed a bug where the Compat Create endpoint for Containers did not properly handle the "default" value for
NetworkMode(this value is used extensively bydocker-compose) (#8544). - Fixed a bug where the Compat Build endpoint for Images would sometimes incorrectly use the
targetquery parameter as the image's tag.
Misc
- Podman v2.2.0 vendored a non-released, custom version of the
github.com/spf13/cobrapackage; this has been reverted to the latest upstream release to aid in packaging. - Updated the containers/image library to v5.9.0