<div dir="auto">Package: libpod<div dir="auto">Severity: wishlist</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>From: <strong class="gmail_sendername" dir="auto">Matthew Heon</strong> <span dir="auto"><<a href="mailto:notifications@github.com">notifications@github.com</a>></span><br>Date: Thu, Sep 16, 2021, 18:16<br>Subject: [containers/podman] Pre-release v3.4.0-rc1 - v3.4.0-RC1<br>To: containers/podman <<a href="mailto:podman@noreply.github.com">podman@noreply.github.com</a>><br>Cc: Subscribed <<a href="mailto:subscribed@noreply.github.com">subscribed@noreply.github.com</a>><br></div><br><br><p></p>
<h1><a href="https://github.com/containers/podman/releases/tag/v3.4.0-rc1" target="_blank" rel="noreferrer">v3.4.0-RC1</a></h1><p style="font-size:small">Repository: <a href="https://github.com/containers/podman" target="_blank" rel="noreferrer">containers/podman</a> · Tag: <a href="https://github.com/containers/podman/tree/v3.4.0-rc1" target="_blank" rel="noreferrer">v3.4.0-rc1</a> · Commit: <a href="https://github.com/containers/podman/commit/bd47b9eff88690da795a22724683b58687e9877d" target="_blank" rel="noreferrer">bd47b9e</a> · Released by: <a href="https://github.com/mheon" target="_blank" rel="noreferrer">mheon</a></p>
<h3>Features</h3>
<ul>
<li>Pods now support init containers! Init containers are containers which run before the rest of the pod starts. There are two types of init containers: "always", which always run before the pod is started, and "once", which only run the first time the pod starts and are subsequently removed. They can be added using the <code>podman create</code> command's <code>--init-ctr</code> option.</li>
<li>Support for init containers has also been added to <code>podman play kube</code> and <code>podman generate kube</code> - init containers contained in Kubernetes YAML will be created as Podman init containers, and YAML generated by Podman will include any init containers created.</li>
<li>The <code>podman play kube</code> command now supports building images. If the <code>--build</code> option is given and a directory with the name of the specified image exists in the current working directory and contains a valid Containerfile or Dockerfile, the image will be built and used for the container.</li>
<li>The <code>podman play kube</code> command now supports a new option, <code>--teardown</code>, which removes any pods and containers created by the given Kubernetes YAML.</li>
<li>A new command has been added, <code>podman pod logs</code>, to return logs for all containers in a pod at the same time.</li>
<li>Two new commands have been added, <code>podman volume export</code> (to export a volume to a tar file) and <code>podman volume import</code>) (to populate a volume from a given tar file).</li>
<li>The <code>podman auto-update</code> command now supports simple rollbacks. If a container fails to start after an automatic update, it will be rolled back to the previous image and restarted again.</li>
<li>Pods now share their user namespace by default, and the <code>podman pod create</code> command now supports the <code>--userns</code> option. This allows rootless pods to be created with the <code>--userns=keep-id</code> option.</li>
<li>The <code>podman pod ps</code> command now supports a new filter with its <code>--filter</code> option, <code>until</code>, which returns pods created before a given timestamp.</li>
<li>The <code>podman image scp</code> command has been added. This command allows images to be transferred between different hosts.</li>
<li>The <code>podman stats</code> command supports a new option, <code>--interval</code>, to specify the amount of time before the information is refreshed.</li>
<li>The <code>podman inspect</code> command now includes ports exposed (but not published) by containers (e.g. ports from <code>--expose</code> when <code>--publish-all</code> is not specified).</li>
<li>The <code>podman inspect</code> command now has a new boolean value, <code>Checkpointed</code>, which indicates that a container was stopped as a result of a <code>podman container checkpoint</code> operation.</li>
<li>Volumes created by <code>podman volume create</code> now support setting quotas when run atop XFS. The <code>size</code> and <code>inode</code> options allow the maximum size and maximum number of inodes consumed by a volume to be limited.</li>
<li>The <code>podman info</code> command now outputs information on what log drivers, network drivers, and volume plugins are available for use (<a href="https://github.com/containers/podman/issues/11265" target="_blank" rel="noreferrer">#11265</a>).</li>
<li>The <code>podman info</code> command now outputs the current log driver in use, and the variant and codename of the distribution in use.</li>
</ul>
<h3>Changes</h3>
<ul>
<li>The <code>podman build</code> command has a new alias, <code>podman buildx</code>, to improve compatibility with Docker. We have already added support for many <code>docker buildx</code> flags to <code>podman build</code> and aim to continue to do so.</li>
<li>Podman commands run as root now ignore <code>XDG_RUNTIME_DIR</code> when determining where to place temporary files, which should resolve a number of issues including <a href="https://github.com/containers/podman/issues/10745" target="_blank" rel="noreferrer">#10745</a> and <a href="https://github.com/containers/podman/issues/10806" target="_blank" rel="noreferrer">#10806</a>.</li>
<li>Cases where Podman is run without a user session or a writable temporary files directory will now produce better error messages.</li>
<li>The default log driver has been changed from <code>file</code> to <code>journald</code>. The <code>file</code> driver did not properly support log rotation, so this should lead to a better experience. If journald is not available on the system, Podman will automatically revert to the <code>file</code>.</li>
<li>Podman no longer depends on <code>ip</code> for removing networks (<a href="https://github.com/containers/podman/issues/11403" target="_blank" rel="noreferrer">#11403</a>).</li>
<li>The deprecated <code>--macvlan</code> flag to <code>podman network create</code> now warns when it is used. It will be removed entirely in the Podman 4.0 release.</li>
<li>The <code>podman machine start</code> command now prints a message when the VM is successfully started.</li>
<li>The <code>podman stats</code> command can now be used on containers that are paused.</li>
<li>The <code>podman unshare</code> command will now return the exit code of the command that was run in the user namespace (assuming the command was successfully run).</li>
<li>Successful healthchecks will no longer add a <code>healthy</code> line to the system log to reduce log spam.</li>
<li>As a temporary workaround for a lack of shortname prompts in the Podman remote client, VMs created by <code>podman machine</code> now default to only using the <code><a href="http://docker.io" target="_blank" rel="noreferrer">docker.io</a></code> registry.</li>
</ul>
<h3>Bugfixes</h3>
<ul>
<li>Fixed a bug where whitespace in the definition of sysctls (particularly default sysctls specified in <code>containers.conf</code>) would cause them to be parsed incorrectly.</li>
<li>Fixed a bug where the Windows remote client improperly validated volume paths (<a href="https://github.com/containers/podman/issues/10900" target="_blank" rel="noreferrer">#10900</a>).</li>
<li>Fixed a bug where the first line of logs from a container run with the <code>journald</code> log driver could be skipped.</li>
<li>Fixed a bug where images created by <code>podman commit</code> did not include ports exposed by the container.</li>
<li>Fixed a bug where the <code>podman auto-update</code> command would ignore the <code>io.containers.autoupdate.authfile</code> label when pulling images (<a href="https://github.com/containers/podman/issues/11171" target="_blank" rel="noreferrer">#11171</a>).</li>
<li>Fixed a bug where the <code>--workdir</code> option to <code>podman create</code> and <code>podman run</code> could not be set to a directory where a volume was mounted (<a href="https://github.com/containers/podman/issues/11352" target="_blank" rel="noreferrer">#11352</a>).</li>
<li>Fixed a bug where systemd socket-activation did not properly work with systemd-managed Podman containers (<a href="https://github.com/containers/podman/issues/10443" target="_blank" rel="noreferrer">#10443</a>).</li>
<li>Fixed a bug where environment variable secrets added to a container were not available to exec sessions launched in the container.</li>
<li>Fixed a bug where rootless containers could fail to start the <code>rootlessport</code> port-forwarding service when <code>XDG_RUNTIME_DIR</code> was set to a long path.</li>
<li>Fixed a bug where arguments to the <code>--systemd</code> option to <code>podman create</code> and <code>podman run</code> were case-sensitive (<a href="https://github.com/containers/podman/issues/11387" target="_blank" rel="noreferrer">#11387</a>).</li>
<li>Fixed a bug where the <code>podman manifest rm</code> command would also remove images referenced by the manifest, not just the manifest itself (<a href="https://github.com/containers/podman/issues/11344" target="_blank" rel="noreferrer">#11344</a>).</li>
<li>Fixed a bug where the Podman remote client on OS X would not function properly if the <code>TMPDIR</code> environment variable was not set (<a href="https://github.com/containers/podman/issues/11418" target="_blank" rel="noreferrer">#11418</a>).</li>
<li>Fixed a bug where the <code>/etc/hosts</code> file was not guaranteed to contain an entry for <code>localhost</code> (this is still not guaranteed if <code>--net=host</code> is used; such containers will exactly match the host's <code>/etc/hosts</code>) (<a href="https://github.com/containers/podman/issues/11411" target="_blank" rel="noreferrer">#11411</a>).</li>
<li>Fixed a bug where the <code>podman machine start</code> command could print warnings about unsupported CPU features (<a href="https://github.com/containers/podman/issues/11421" target="_blank" rel="noreferrer">#11421</a>).</li>
<li>Fixed a bug where the <code>podman info</code> command could segfault when accessing cgroup information.</li>
<li>Fixed a bug where the <code>podman logs -f</code> command could hang when a container exited (<a href="https://github.com/containers/podman/issues/11461" target="_blank" rel="noreferrer">#11461</a>).</li>
<li>Fixed a bug where the <code>podman generate systemd</code> command could not be used on containers that specified a restart policy (<a href="https://github.com/containers/podman/issues/11438" target="_blank" rel="noreferrer">#11438</a>).</li>
<li>Fixed a bug where the remote Podman client's <code>podman build</code> command would fail to build containers if the UID and GID on the client were higher than 65536 (<a href="https://github.com/containers/podman/issues/11474" target="_blank" rel="noreferrer">#11474</a>).</li>
<li>Fixed a bug where the <code>--network</code> flag to <code>podman play kube</code> was not properly parsed when a non-bridge network configuration was specified.</li>
<li>Fixed a bug where the <code>podman inspect</code> command could error when the container being inspected was removed as it was being inspected (<a href="https://github.com/containers/podman/issues/11392" target="_blank" rel="noreferrer">#11392</a>).</li>
<li>Fixed a bug where the <code>podman play kube</code> command ignored the default pod infra image specified in <code>containers.conf</code>.</li>
<li>Fixed a bug where the <code>--format</code> option to <code>podman inspect</code> was nonfunctional under some circumstances (<a href="https://github.com/containers/podman/issues/8785" target="_blank" rel="noreferrer">#8785</a>).</li>
<li>Fixed a bug where the remote Podman client's <code>podman run</code> and <code>podman exec</code> commands could skip a byte of output every 8192 bytes (<a href="https://github.com/containers/podman/issues/11496" target="_blank" rel="noreferrer">#11496</a>).</li>
<li>Fixed a bug where the <code>podman stats</code> command would print nonsensical results if the container restarted while it was running (<a href="https://github.com/containers/podman/issues/11469" target="_blank" rel="noreferrer">#11469</a>).</li>
<li>Fixed a bug where the remote Podman client would error when STDOUT was redirected on a Windows client (<a href="https://github.com/containers/podman/issues/11444" target="_blank" rel="noreferrer">#11444</a>).</li>
<li>Fixed a bug where the <code>podman run</code> command could return 0 when the application in the container exited with 125 (<a href="https://github.com/containers/podman/issues/11540" target="_blank" rel="noreferrer">#11540</a>).</li>
<li>Fixed a bug where containers with <code>--restart=always</code> set using the rootlessport port-forwarding service could not be restarted automatically.</li>
<li>Fixed a bug where the <code>--cgroups=split</code> option to <code>podman create</code> and <code>podman run</code> was silently discarded if the container was part of a pod.</li>
</ul>
<h3>API</h3>
<ul>
<li>The Libpod Pull endpoint for Images now has a new query parameter, <code>quiet</code>, which (when set to true) suppresses image pull progress reports (<a href="https://github.com/containers/podman/issues/10612" target="_blank" rel="noreferrer">#10612</a>).</li>
<li>The Compat Events endpoint now includes several deprecated fields from the Docker v1.21 API for improved compatibility with older clients.</li>
<li>The Compat Create endpoint for Containers now properly sets defaults for healthcheck-related fields (<a href="https://github.com/containers/podman/issues/11225" target="_blank" rel="noreferrer">#11225</a>).</li>
<li>The Compat Create endpoint for Containers now supports volume options provided by the <code>Mounts</code> field (<a href="https://github.com/containers/podman/issues/10831" target="_blank" rel="noreferrer">#10831</a>).</li>
<li>The Compat List endpoint for Secrets now supports a new query parameter, <code>filter</code>, which allows returned results to be filtered.</li>
<li>The Version endpoint now includes information about the OCI runtime and Conmon in use (<a href="https://github.com/containers/podman/issues/11227" target="_blank" rel="noreferrer">#11227</a>).</li>
<li>Fixed a bug where the X-Registry-Config header was not properly handled, leading to errors when pulling images (<a href="https://github.com/containers/podman/issues/11235" target="_blank" rel="noreferrer">#11235</a>).</li>
<li>Fixed a bug where invalid query parameters could cause a null pointer dereference when creating error messages.</li>
<li>Logging of API requests and responses at trace level has been greatly improved, including the addition of an X-Reference-Id header to correlate requests and responses (<a href="https://github.com/containers/podman/issues/10053" target="_blank" rel="noreferrer">#10053</a>).</li>
</ul>
<h3>Misc</h3>
<ul>
<li>Updated Buildah to v1.23.0</li>
<li>Updated the containers/storage library to v1.36.0</li>
<li>Updated the containers/image library to v5.16.0</li>
<li>Updated the containers/common library to v0.44.0</li>
</ul>
—<p>This release has 2 assets:</p><ul><li>Source code (zip)</li><li>Source code (tar.gz)</li></ul><p>Visit the <a href="https://github.com/containers/podman/releases/tag/v3.4.0-rc1" target="_blank" rel="noreferrer">release page</a> to download them.</p>
<p style="font-size:small;color:#666">—<br>You are receiving this because you are watching this repository.<br><a href="https://github.com/containers/podman/releases/tag/v3.4.0-rc1" target="_blank" rel="noreferrer">View it on GitHub</a> or <a href="https://github.com/containers/podman/unsubscribe_via_email/AAOKTJFGMS3AJ7CP56MMOQDUCJUCBANCNFSM4BUBNXIQ" target="_blank" rel="noreferrer">unsubscribe</a> from all notifications for this repository.<img src="https://github.com/notifications/beacon/AAOKTJCAXEXW2S36JLFOX3DUCJUCBA5CNFSM5EFW2CMKYY3PNVWWK3TUL52HS4DFU5JGK3DFMFZWLKTDN5WW2ZLOORPWSZGOAL3IPIA.gif" height="1" width="1" alt=""></p>
</div>