Containers
The following features, enhancements, and changes related to containers are introduced in this Oracle Linux 9 release.
Podman Updated to version 5.2
Podman is updated to version 5.2. The components for Podman are in the
container-tools package.
Notable features and changes include the following:
- Using Podman and Buildah you can now add Open Container Initiative artifacts manifests
to image indexes.
buildah manifest addincludes the following options:-
--artifactCreates artifact manifests. -
--artifact-type,--artifact-config-type,--artifact-layer-type,--artifact-exclude-titles, and--subjectspecifies the contents of the artifact manifests.
buildah manifest annotateincludes the following options:-
the --index option to set annotations on the index itself instead of a one of the entries in the image index
-
the --subject option for setting the subject field of an image index.
buildah manifest createincludes the--annotationoption for adding annotations to the new image index. -
-
podman manifest addIncludes a new--artifactoption to add Open Container Initiative artifacts to a manifest list. -
Disable logging Podman
health_statusevents by setting the newhealthcheck_eventsoption tofalsein thecontainers.confconfiguration file under the[engine]section. -
podman updatecommand of container configuration are persistent. This applies to SQLite and BoltDB database backends. -
buildah build,podman build, andpodman farm buildcan use the new--compat-volumesoption. This option triggers special handling for the contents of directories marked using the VOLUME instruction such that their contents can subsequently only be modified by ADD and COPY instructions. Any changes made in those locations by RUN Instructions are discarded. Previously, this behavior was the default, but is now disabled by default. -
The system connections and farm information stored in the
containers.conffile is now read-only. The system connections and farm information are now be stored in thepodman.connections.jsonfile, managed only by Podman. Podman continues to work with the old configuration options such as[engine.service_destinations]and the[farms]section. You manually add and edit connections or farms, however, you can't delete a connection from thecontainers.conffile withpodman system connection remove. System connections that were added by Podman v4.0 remain unchanged after the upgrade to Podman v5.0. -
podman pod inspectprovides a JSON array regardless of the number of pods. Previously, thepodman pod inspectomitted the JSON array when inspecting a single pod. -
podman inspectThe output for containers has changed and includes the following:-
Entrypointfield changes from a string to an array of strings. -
StopSignalchanges from an integer to a string. -
Returns
nilfor health checks when inspecting containers without health checks.
-
-
Cgroups v1 is deprecated. Podman now prints warnings when used on cgroups v1 systems. You can set the
PODMAN_IGNORE_CGROUPSV1_WARNINGenvironment variable to suppress warnings. -
pastareplacesslirp4netnsfor improved performance as the default tool for rootless networking. Networks namedpastacan no longer be used.
See https://github.com/containers/podman/releases for more information.