|
1 | 1 | # Release Notes
|
2 | 2 |
|
| 3 | +## 4.7.0-rc1 |
| 4 | +### Security |
| 5 | +- Now the io.containers.capabilities LABEL in an image can be an empty string. |
| 6 | + |
| 7 | +### Features |
| 8 | +- New command set: `podman farm [create,list,remove,update]` has been created to "farm" out builds to machines running Podman for different architectures. |
| 9 | +- New command: `podman compose` as a thin wrapper around an external compose provider such as docker-compose or podman-compose. |
| 10 | +- FreeBSD: `podman run --device` is now supported. |
| 11 | +- Linux: Add a new `--module` flag for Podman. |
| 12 | +- Podmansh: Timeout is now configurable using the `podmansh_timeout` option in containers.conf. |
| 13 | +- SELinux: Add support for confined users to create containers but restrict them from creating privileged containers. |
| 14 | +- WSL: Registers shared socket bindings on Windows, to allow other WSL distributions easy remote access ([#15190](https://github.com/containers/podman/issues/15190)). |
| 15 | +- WSL: Enabling user-mode-networking on older WSL2 generations will now detect an error with upgrade guidance. |
| 16 | +- The `podman build` command now supports two new options: `--layer-label` and `--cw`. |
| 17 | +- The `podman kube generate` command now supports generation of k8s DaemonSet kind ([#18899](https://github.com/containers/podman/issues/18899)). |
| 18 | +- The `podman kube generate` and `podman kube play` commands now support the k8s `TerminationGracePeriodSeconds` field ([RH BZ#2218061](https://bugzilla.redhat.com/show_bug.cgi?id=2218061)). |
| 19 | +- The `podman kube generate` and `podman kube play` commands now support `securityContext.procMount: Unmasked` ([#19881](https://github.com/containers/podman/issues/19881)). |
| 20 | +- The `podman generate kube` command now supports a `--podman-only` flag to allow podman-only reserved annotations to be used in the generated YAML file. These annotations cannot be used by Kubernetes. |
| 21 | +- The `podman kube generate` now supports a `--no-trunc` flag that supports YAML files with annotations longer than 63 characters. Warning: if an annotation is longer than 63 chars, then the generated yaml file is not Kubernetes compatible. |
| 22 | +- An infra name annotation `io.podman.annotations.infra.name` is added in the generated yaml when the `pod create` command has `--infra-name` set. This annotation can also be used with `kube play` when wanting to customize the infra container name ([#18312](https://github.com/containers/podman/issues/18312)). |
| 23 | +- The syntax of `--uidmap` and `--gidmap` has been extended to lookup the parent user namespace and to extend default mappings ([#18333](https://github.com/containers/podman/issues/18333)). |
| 24 | +- The `podman kube` commands now support the `List` kind ([#19052](https://github.com/containers/podman/issues/19052)). |
| 25 | +- The `podman kube play` command now supports environment variables in kube.yaml ([#15983](https://github.com/containers/podman/issues/15983)). |
| 26 | +- The `podman push` and `podman manifest push` commands now support the `--force-compression` optionto prevent reusing other blobs ([#18860](https://github.com/containers/podman/issues/18660)). |
| 27 | +- The `podman manifest push` command now supports `--add-compression` to push with compressed variants. |
| 28 | +- The `podman manifest push` command now honors the `add_compression` field from containers.conf if `--add-compression` is not set. |
| 29 | +- The `podman run` and `podman create --mount` commands now support the `ramfs` type ([#19659](https://github.com/containers/podman/issues/19659)). |
| 30 | +- When running under systemd (e.g., via Quadlet), Podman will extend the start timeout in 30 second steps up to a maximum of 5 minutes when pulling an image. |
| 31 | +- The `--add-host` option now accepts the special string `host-gateway` instead of an IP Address, which will be mapped to the host IP address. |
| 32 | +- The `podman generate systemd` command is deprecated. Use Quadlet for running containers and pods under systemd. |
| 33 | +- The `podman secret rm` command now supports an `--ignore` option. |
| 34 | +- The `--env-file` option now supports multiline variables ([#18724](https://github.com/containers/podman/issues/18724)). |
| 35 | +- The `--read-only-tmpfs` flag now affects /dev and /dev/shm as well as /run, /tmp, /var/tmp ([#12937](https://github.com/containers/podman/issues/12937)). |
| 36 | +- The Podman `--mount` option now supports bind mounts passed as globs. |
| 37 | +- The `--mount` option can now be specified in containers.conf using the `mounts` field. |
| 38 | +- The `podman stats` now has an `--all` option to get all containers stats ([#19252](https://github.com/containers/podman/issues/19252)). |
| 39 | +- There is now a new `--sdnotify=healthy` policy where Podman sends the READY message once the container turns healthy ([#6160](https://github.com/containers/podman/issues/6160)). |
| 40 | +- Temporary files created when dealing with images in `/var/tmp` will automatically be cleaned up on reboot. |
| 41 | +- There is now a new filter option `since` for `podman volume ls` and `podman volume prune` ([#19228](https://github.com/containers/podman/issues/19228)). |
| 42 | +- The `podman inspect` command now has tab-completion support ([#18672])(https://github.com/containers/podman/issues/18672)). |
| 43 | +- The `podman kube play` command now has support for the use of reserved annotations in the generated YAML. |
| 44 | +- The progress bar is now displayed when decompressing a Podman machine image ([#19240](https://github.com/containers/podman/issues/19240)). |
| 45 | +- The `podman secret inspect` command supports a new option `--showsecret` which will output the actual secret. |
| 46 | +- The `podman secret create` now supports a `--replace` option, which allows you to modify secrets without replacing containers. |
| 47 | +- The `podman login` command can now read the secret for a registry from its secret database created with `podman secret create` ([#18667]](https://github.com/containers/podman/issues/18667)). |
| 48 | +- The remote Podman client’s `podman play kube` command now works with the `--userns` option ([#17392](https://github.com/containers/podman/pull/17392)). |
| 49 | + |
| 50 | +### Changes |
| 51 | +- The `/tmp` and `/var/tmp` inside of a `podman kube play` will no longer be `noexec`. |
| 52 | +- The limit of inotify instances has been bumped from 128 to 524288 for podman machine ([#19848](https://github.com/containers/podman/issues/19848)). |
| 53 | +- The `podman kube play` has been improved to only pull a newer image for the "latest" tag ([#19801](https://github.com/containers/podman/issues/19801)). |
| 54 | +- Pulling from an `oci` transport will use the optional name for naming the image. |
| 55 | +- The `podman info` command will always display the existence of the Podman socket. |
| 56 | +- The echo server example in socket_activation.md has been rewritten to use quadlet instead of `podman generate systemd`. |
| 57 | +- Kubernetes support table documentation correctly show volumes support. |
| 58 | +- The `podman auto-update` manpage and documentation has been updated and now includes references to Quadlet. |
| 59 | + |
| 60 | +### Quadlet |
| 61 | +- Quadlet now supports setting Ulimit values. |
| 62 | +- Quadlet now supports setting the PidsLimit option in a container. |
| 63 | +- Quadlet unit files allow DNS field in Network group and DNS, DNSSearch, and DNSOption field in Container group ([#19884](https://github.com/containers/podman/issues/19884)). |
| 64 | +- Quadlet now supports ShmSize option in unit files. |
| 65 | +- Quadlet now recursively calls in user directories for unit files. |
| 66 | +- Quadlet now allows the user to set the service working directory relative to the YAML or Unit files ([17177](https://github.com/containers/podman/discussions/17177)). |
| 67 | +- Quadlet now allows setting user-defined names for `Volume` and `Network` units via the `VolumeName` and `NetworkName` directives, respectively. |
| 68 | +- Kube quadlets can now support autoupdate. |
| 69 | + |
| 70 | +### Bugfixes |
| 71 | +- Fixed an issue where containers were being restarted after a `podman kill`. |
| 72 | +- Fixed a bug where events could report incorrect healthcheck results ([#19237](https://github.com/containers/podman/issues/19237). |
| 73 | +- Fixed a bug where running a container in a pod didn't fail if volumes or mounts were specified in the containers.conf file. |
| 74 | +- Fixed a bug where pod cgroup limits were not being honored after a reboot ([#19175](https://github.com/containers/podman/issues/19175)). |
| 75 | +- Fixed a bug where `podman rm -af` could fail to remove containers under some circumstances ([#18874](https://github.com/containers/podman/issues/18874)). |
| 76 | +- Fixed a bug in rootless to clamp oom_score_adj to current value if it is too low ([#19829](https://github.com/containers/podman/issues/19829)). |
| 77 | +- Fixed a bug where `--hostuser` was being parsed in base 8 instead of base 10 ([#19800](https://github.com/containers/podman/issues/19800)). |
| 78 | +- Fixed a bug where `kube down` would error when an object did not exist ([#19711](https://github.com/containers/podman/issues/19711)). |
| 79 | +- Fixed a bug where containers created via DOCKER API without specifying StopTimeout had StopTimeout defaulting to 0 seconds ([#19139](https://github.com/containers/podman/issues/19139)). |
| 80 | +- Fixed a bug in `podman exec` to set umask to match the container it's execing into ([#19713](https://github.com/containers/podman/issues/19713)). |
| 81 | +- Fixed a bug where `podman kube play` failed to set a container's Umask to the default `0022`. |
| 82 | +- Fixed a bug to automatically reassign Podman's machine ssh port on Windows when it conflicts with in-use system ports ([#19554](https://github.com/containers/podman/issues/19554)). |
| 83 | +- Fixed a bug where locales weren't passed to conmon correctly, resulting in a crash if some characters were specified over CLI ([containers/common/#272](https://github.com/containers/conmon/issues/272)). |
| 84 | +- Fixed a bug where `podman top` would sometimes not print the full output ([#19504](https://github.com/containers/podman/issues/19504)). |
| 85 | +- Fixed a bug were `podman logs --tail` could return incorrect lines when the k8s-file logger is used ([#19545](https://github.com/containers/podman/issues/19545)). |
| 86 | +- Fixed a bug where `podman stop` did not ignore cidfile not existing when user specified --ignore flag ([#19546](https://github.com/containers/podman/issues/19546)). |
| 87 | +- Fixed a bug where a container with an image volume and an inherited mount from the `--volumes-from` option that used the same path could not be created ([#19529](https://github.com/containers/podman/issues/19529)). |
| 88 | +- Fixed a bug where `podman cp` via STDIN did not delete temporary files ([#19496](https://github.com/containers/podman/issues/19496)). |
| 89 | +- Fixed a bug where Compatibility API did not accept timeout=-1 for stopping containers ([#17542](https://github.com/containers/podman/issues/17542)). |
| 90 | +- Fixed a bug where `podman run --rmi` did not remove the container ([#15640](https://github.com/containers/podman/issues/15640)). |
| 91 | +- Fixed a bug to recover from inconsistent podman-machine states with QEMU ([#16054](https://github.com/containers/podman/issues/16054)). |
| 92 | +- Fixed a bug where CID Files on remote clients are not removed when container is removed ([#19420](https://github.com/containers/podman/issues/19420)). |
| 93 | +- Fixed a bug in `podman inspect` to show a `.NetworkSettings.SandboxKey` path for containers created with --net=none ([#16716](https://github.com/containers/podman/issues/16716)). |
| 94 | +- Fixed a concurrency bug in `podman machine start` using the QEMU provider ([#18662](https://github.com/containers/podman/issues/18662)). |
| 95 | +- Fixed a bug in `podman run` and `podman create` where the command fails if the user specifies a non-existent authfile path ([#18938](https://github.com/containers/podman/issues/18938)). |
| 96 | +- Fixed a bug where some distributions added extra quotes around the distribution name removed from `podman info` output ([#19340](https://github.com/containers/podman/issues/19340)). |
| 97 | +- Fixed a crash validating --device argument for create and run ([#19335](https://github.com/containers/podman/issues/19335)). |
| 98 | +- Fixed a bug where `.HostConfig.PublishAllPorts` always evaluates to `false` when inspecting a container created with `--publish-all`. |
| 99 | +- Fixed a bug in `podman image trust` command to allow using the local policy.json file ([#19073](https://github.com/containers/podman/issues/19073)). |
| 100 | + |
| 101 | +### API |
| 102 | +- Fixed a bug with parsing of the pull query parameter for the compat /build endpoint ([#17778](https://github.com/containers/podman/issues/17778)). |
| 103 | + |
| 104 | +### Misc |
| 105 | +- Updated Buildah to v1.32.0. |
| 106 | + |
3 | 107 | ## 4.6.2
|
4 | 108 | ### Changes
|
5 | 109 | - Fixed a performance issue when calculating diff sizes in overlay. The `podman system df` command should see a significant performance improvement ([#19467](https://github.com/containers/podman/issues/19467)).
|
|
2314 | 2418 | - Fixed a bug where Podman's systemd detection (activated by the enabled-by-default `--systemd=true` flag) would not flag a container for systemd mode if systemd was part of the entrypoint, not the command ([#6920](https://github.com/containers/podman/issues/6920)).
|
2315 | 2419 | - Fixed a bug where `podman start --attach` was not defaulting `--sig-proxy` to true ([#6928](https://github.com/containers/podman/issues/6928)).
|
2316 | 2420 | - Fixed a bug where `podman inspect` would show an incorrect command (`podman system service`, the command used to start the server) for containers created by a remote Podman client.
|
2317 |
| -- Fixed a bug where the `podman exec` command with the remote client would not print output if the `-t` or `-i` flags where not provided. |
| 2421 | +- Fixed a bug where the `podman exec` command with the remote client would not print output if the `-t` or `-i` flags were not provided. |
2318 | 2422 | - Fixed a bug where some variations of the `--format {{ json . }}` to `podman info` (involving added or removed whitespace) would not be accepted ([#6927](https://github.com/containers/podman/issues/6927)).
|
2319 | 2423 | - Fixed a bug where Entrypoint could not be cleared at the command line (if unset via `--entrypoint=""`, it would be reset to the image's entrypoint) ([#6935](https://github.com/containers/podman/issues/6935)).
|
2320 | 2424 |
|
|
0 commit comments