Security
- This release addresses CVE-2021-4024, where the
podman machine
command opened thegvproxy
API (used to forward ports topodman machine
VMs) to the public internet on port 7777. - This release addresses CVE-2021-41190, where incomplete specification of behavior regarding image manifests could lead to inconsistent decoding on different clients.
Features
- The
--secret type=mount
option topodman create
andpodman run
supports a new option,target=
, which specifies where in the container the secret will be mounted (#12287).
Bugfixes
- Fixed a bug where rootless Podman would occasionally print warning messages about failing to move the pause process to a new cgroup (#12065).
- Fixed a bug where the
podman run
andpodman create
commands would, when pulling images, still require TLS even with registries set to Insecure via config file (#11933). - Fixed a bug where the
podman generate systemd
command generated units that depended onmulti-user.target
, which has been removed from some distributions (#12438). - Fixed a bug where Podman could not run containers with images that had
/etc/
as a symlink (#12189). - Fixed a bug where the
podman logs -f
command would, when using thejournald
logs backend, exit immediately if the container had previously been restarted (#12263). - Fixed a bug where, in containers on VMs created by
podman machine
, thehost.containers.internal
name pointed to the VM, not the host system (#11642). - Fixed a bug where containers and pods created by the
podman play kube
command in VMs managed bypodman machine
would not automatically forward ports from the host machine (#12248). - Fixed a bug where
podman machine init
would fail on OS X when GNU Coreutils was installed (#12329). - Fixed a bug where
podman machine start
would exit before SSH on the started VM was accepting connections (#11532). - Fixed a bug where the
podman run
command with signal proxying (--sig-proxy
) enabled could print an error if it attempted to send a signal to a container that had just exited (#8086). - Fixed a bug where the
podman stats
command would not return correct information for containers running Systemd as PID1 (#12400). - Fixed a bug where the
podman image save
command would fail on OS X when writing the image to STDOUT (#12402). - Fixed a bug where the
podman ps
command did not properly handle PS arguments which contained whitespace (#12452). - Fixed a bug where the
podman-remote wait
command could fail to detect that the container exited and return an error under some circumstances (#12457). - Fixed a bug where the Windows MSI installer for
podman-remote
would break the PATH environment variable by adding an extra"
(#11416).
API
- Updated the containers/image library to v5.17.0
- The Libpod Play Kube endpoint now also accepts
ConfigMap
YAML as part of its payload, and will use provided anyConfigMap
to configure provided pods and services. - Fixed a bug where the Compat Create endpoint for Containers would not always create the container's working directory if it did not exist (#11842).
- Fixed a bug where the Compat Create endpoint for Containers returned an incorrect error message with 404 errors when the requested image was not found (#12315).
- Fixed a bug where the Compat Create endpoint for Containers did not properly handle the
HostConfig.Mounts
field (#12419). - Fixed a bug where the Compat Archive endpoint for Containers did not properly report errors when the operation failed (#12420).
- Fixed a bug where the Compat Build endpoint for Images ignored the
layers
query parameter (for caching intermediate layers from the build) (#12378). - Fixed a bug where the Compat Build endpoint for Images did not report errors in a manner compatible with Docker (#12392).
- Fixed a bug where the Compat Build endpoint for Images would fail to build if the context directory was a symlink (#12409).
- Fixed a bug where the Compat List endpoint for Images included manifest lists (and not just images) in returned results (#12453).
Misc
- Podman now builds by default with cgo enabled on OS X, resolving some issues with SSH (#10737).