mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 09:13:01 +02:00
1. add support for extracting, and finding the directory holding the
index.json metadata file in, OCI images. An archive in Infix is either
a .tar or .tar.gz archive, which we need to unpack for this version of
podman to be able to load them.
2. new RPC '/infix-containers:oci-load' calls 'container load' of an
OCI archive (tarball), optionally gzipped. The resulting image uses
the directory name of the unpacked tarball, so the container script
offers a way to retag the image after loading it.
First class citizens in container transport are docker:// and the OCI
family of URI:s. A docker:// URL, or a local docker-archive:path, is
assumed to be well formed, in which case we leave it up to podman to
handle.
Note: 'podman import' does not fully understand OCI formats. It drops
ENTRYPOINT and COMMAND, while 'podman load' handles things a lot
better. Only letdown is it does not support nameing the image.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
9 lines
286 B
Plaintext
9 lines
286 B
Plaintext
d /run/containers/args 0700 - -
|
|
d /run/containers/files 0700 - -
|
|
d /var/lib/containers/active 0700 - -
|
|
d /var/lib/containers/oci 0755 - -
|
|
d /run/containers/inbox 0700 - -
|
|
d /run/containers/queue 0700 - -
|
|
d /run/cni 0755 - -
|
|
L+ /var/lib/cni - - - - /run/cni
|