Man page - podman-manifest-add(1)
Packages contains this manual
- podman-farm-update(1)
- podman-unmount(1)
- podman-pod-logs(1)
- podman-generate-spec(1)
- podman-image-untag(1)
- podman-machine-reset(1)
- podman-container-start(1)
- podman-image-diff(1)
- podman-secret(1)
- podman-image-history(1)
- podman-container-create(1)
- podman-volume-inspect(1)
- podman-generate-kube(1)
- podman-container-kill(1)
- podman-system-check(1)
- podman-rename(1)
- podman-container-top(1)
- podman-image-inspect(1)
- podman-image-save(1)
- podman-machine-inspect(1)
- podman-manifest-add(1)
- podman-image-pull(1)
- podman-container-init(1)
- podman-volume-exists(1)
- podman-image-build(1)
- podman-completion(1)
- podman-run(1)
- podman-login(1)
- podman-volume-unmount(1)
- podman-artifact(1)
- podman-system-connection-default(1)
- podman-pod-restart(1)
- podman-container-ls(1)
- podman-machine-stop(1)
- podman-system-connection-add(1)
- podman-kube-down(1)
- podman-pod-create(1)
- podman-container-update(1)
- podman-volume-mount(1)
- podman-pull(1)
- podman-image-list(1)
- podman-generate-systemd(1)
- podman-pod-stop(1)
- podman-container-inspect(1)
- podman-network-disconnect(1)
- podman(1)
- podman-container-cleanup(1)
- podman-volume-reload(1)
- podman-create(1)
- podman-kube-play(1)
- podman-manifest-create(1)
- podman-artifact-pull(1)
- podman-pod-inspect(1)
- podman-generate(1)
- podman-image-scp(1)
- podman-image-load(1)
- podman-system-prune(1)
- podman-export(1)
- podman-image-ls(1)
- podman-network(1)
- quadlet(5)
- podman-umount(1)
- podman-system(1)
- podman-pod-top(1)
- podman-kube-generate(1)
- podman-rm(1)
- podman-volume-import(1)
- podman-container-stats(1)
- podman-version(1)
- podman-volume(1)
- podman-kill(1)
- podman-history(1)
- podman-rootless(7)
- podman-container-prune(1)
- podman-save(1)
- podman-machine-os-apply(1)
- podman-help(1)
- podman-image(1)
- podman-manifest-rm(1)
- podman-play-kube(1)
- podman-container-pause(1)
- podman-image-trust(1)
- podman-init(1)
- podman-image-push(1)
- podman-container-attach(1)
- podman-container-restore(1)
- podman-stop(1)
- podman-container-logs(1)
- podman-farm-create(1)
- podman-network-update(1)
- podman-machine-info(1)
- podman-pod-clone(1)
- podman-network-exists(1)
- podman-machine-start(1)
- podman-image-exists(1)
- podman-container-checkpoint(1)
- podman-attach(1)
- podman-container-cp(1)
- podman-machine-init(1)
- podman-logs(1)
- podman-network-rm(1)
- podman-start(1)
- podman-pod-pause(1)
- podman-port(1)
- podman-manifest-remove(1)
- podman-network-create(1)
- podman-manifest(1)
- podman-system-connection-remove(1)
- podman-image-search(1)
- podman-secret-create(1)
- podman-pod-unpause(1)
- podman-systemd.unit(5)
- podman-container-port(1)
- podman-pod-stats(1)
- podman-image-tree(1)
- podman-manifest-push(1)
- podman-artifact-add(1)
- podman-container-umount(1)
- podman-container-ps(1)
- podman-container-unpause(1)
- podmansh(1)
- podman-manifest-exists(1)
- podman-top(1)
- podman-info(1)
- podman-network-inspect(1)
- podman-container-clone(1)
- podman-image-tag(1)
- podman-container(1)
- podman-stats(1)
- podman-artifact-rm(1)
- podman-farm-list(1)
- podman-container-stop(1)
- podman-images(1)
- podman-container-commit(1)
- podman-secret-rm(1)
- podman-container-unmount(1)
- podman-volume-prune(1)
- podman-auto-update(1)
- podman-image-unmount(1)
- podman-tag(1)
- podman-untag(1)
- podman-container-export(1)
- podman-kube-apply(1)
- podman-system-df(1)
- podman-secret-ls(1)
- podman-image-prune(1)
- podman-manifest-annotate(1)
- podman-container-runlabel(1)
- podman-container-diff(1)
- podman-container-restart(1)
- podman-commit(1)
- podman-update(1)
- podman-events(1)
- podman-pause(1)
- podman-container-rename(1)
- podman-exec(1)
- podman-system-migrate(1)
- podman-rmi(1)
- podman-network-connect(1)
- podman-diff(1)
- podman-system-connection-rename(1)
- podman-system-events(1)
- podman-container-list(1)
- podman-pod-exists(1)
- podman-kube(1)
- podman-image-rm(1)
- podman-machine-rm(1)
- podman-pod-start(1)
- podman-healthcheck(1)
- podman-farm-build(1)
- podman-machine-ssh(1)
- podman-artifact-ls(1)
- podman-image-mount(1)
- podman-search(1)
- podman-machine-list(1)
- podman-pod(1)
- podman-restart(1)
- podman-logout(1)
- podman-pod-rm(1)
- podman-volume-create(1)
- podman-network-prune(1)
- podman-container-rm(1)
- podman-unshare(1)
- podman-secret-inspect(1)
- podman-image-sign(1)
- podman-container-wait(1)
- podman-system-connection-list(1)
- podman-build(1)
- podman-healthcheck-run(1)
- podman-pod-kill(1)
- podman-network-reload(1)
- podman-mount(1)
- podman-machine-ls(1)
- podman-secret-exists(1)
- podman-pod-ps(1)
- podman-system-connection(1)
- podman-unpause(1)
- podman-system-renumber(1)
- podman-load(1)
- podman-container-run(1)
- podman-system-reset(1)
- podman-machine-set(1)
- podman-image-umount(1)
- podman-volume-ls(1)
- podman-pod-prune(1)
- podman-inspect(1)
- podman-push(1)
- podman-system-service(1)
- podman-container-exists(1)
- podman-artifact-push(1)
- podman-artifact-inspect(1)
- podman-farm(1)
- podman-machine-os(1)
- podman-container-exec(1)
- podman-wait(1)
- podman-ps(1)
- podman-image-import(1)
- podman-manifest-inspect(1)
- podman-machine(1)
- podman-farm-remove(1)
- podman-container-mount(1)
- podman-volume-rm(1)
- podman-cp(1)
- podman-troubleshooting(7)
- podman-import(1)
- podman-system-info(1)
- podman-network-ls(1)
- podman-volume-export(1)
apt-get install podman
Manual
podman-manifest-add
NAMESYNOPSIS
DESCRIPTION
RETURN VALUE
OPTIONS
--all
--annotation=annotation=value
--arch=architecture
--artifact
--artifact-config=path
--artifact-config-type=type
--artifact-exclude-titles
--artifact-layer-type=type
--artifact-subject=imageName
--artifact-type=type
--authfile=path
--cert-dir=path
--creds=[username[:password]]
--features=feature
--os=OS
--os-version=version
--tls-verify
--variant
Transport
EXAMPLE
SEE ALSO
NAME
podman-manifest-add - Add an image or artifact to a manifest list or image index
SYNOPSIS
podman manifest add [ options ] listnameorindexname [ transport ]: imagename imageorartifactname [...]
DESCRIPTION
Adds the specified image to the specified manifest list or image index, or creates an artifact manifest and adds it to the specified image index.
RETURN VALUE
The list imageās ID.
OPTIONS
--all
If the image which is added to the list or index is itself a list or index, add all of the contents to the local list. By default, only one image from such a list or index is added to the list or index. Combining --all with any of the other options described below is NOT recommended.
--annotation=annotation=value
Set an annotation on the entry for the specified image or artifact.
--arch=architecture
Override the architecture which the list or index records as a requirement for the image. If imageName refers to a manifest list or image index, the architecture information is retrieved from it. Otherwise, it is retrieved from the imageās configuration information.
--artifact
Create an artifact manifest and add it to the image index. Arguments after the index name will be interpreted as file names rather than as image references. In most scenarios, the --artifact-type option should also be specified.
--artifact-config=path
When creating an artifact manifest and adding it to the image index, use the specified fileās contents as the configuration blob in the artifact manifest. In most scenarios, leaving the default value, which signifies an empty configuration, unchanged, is the preferred option.
--artifact-config-type=type
When creating an artifact manifest and adding it to the image index, use the specified MIME type as the mediaType associated with the configuration blob in the artifact manifest. In most scenarios, leaving the default value, which signifies either an empty configuration or the standard OCI configuration type, unchanged, is the preferred option.
--artifact-exclude-titles
When creating an artifact manifest and adding it to the image index, do not set "org.opencontainers.image.title" annotations equal to the fileās basename for each file added to the artifact manifest. Tools which retrieve artifacts from a registry may use these values to choose names for files when saving artifacts to disk, so this option is not recommended unless it is required for interoperability with a particular registry.
--artifact-layer-type=type
When creating an artifact manifest and adding it to the image index, use the specified MIME type as the mediaType associated with the filesā contents. If not specified, guesses based on either the files names or their contents will be made and used, but the option should be specified if certainty is needed.
--artifact-subject=imageName
When creating an artifact manifest and adding it to the image index, set the subject field in the artifact manifest to mark the artifact manifest as being associated with the specified image in some way. An artifact manifest can only be associated with, at most, one subject.
--artifact-type=type
When creating an artifact manifest, use the specified MIME type as the manifestās artifactType value instead of the less informative default value.
--authfile=path
Path of the authentication file. Default is ${XDG_RUNTIME_DIR}/containers/auth.json on Linux, and $HOME/.config/containers/auth.json on Windows/macOS. The file is created by podman login . If the authorization state is not found there, $HOME/.docker/config.json is checked, which is set using docker login .
Note: There is also the option to override the default path of the authentication file by setting the REGISTRY_AUTH_FILE environment variable. This can be done with export REGISTRY_AUTH_FILE= path.
--cert-dir=path
Use certificates at path (*.crt, *.cert, *.key) to connect to the registry. (Default: /etc/containers/certs.d) For details, see containers-certs.d(5) . (This option is not available with the remote Podman client, including Mac and Windows (excluding WSL2) machines)
--creds=[username[:password]]
The [username[:password]] to use to authenticate with the registry, if required. If one or both values are not supplied, a command line prompt appears and the value can be entered. The password is entered without echo.
Note that the specified credentials are only used to authenticate against target registries. They are not used for mirrors or when the registry gets rewritten (see containers-registries.conf(5) ); to authenticate against those consider using a containers-auth.json(5) file.
--features=feature
Specify the features list which the list or index records as requirements for the image. This option is rarely used.
--os=OS
Override the OS which the list or index records as a requirement for the image. If imagename refers to a manifest list or image index, the OS information is retrieved from it. Otherwise, it is retrieved from the imageās configuration information.
--os-version=version
Specify the OS version which the list or index records as a requirement for the image. This option is rarely used.
--tls-verify
Require HTTPS and verify certificates when contacting registries (default: true ). If explicitly set to true , TLS verification is used. If set to false , TLS verification is not used. If not specified, TLS verification is used unless the target registry is listed as an insecure registry in containers-registries.conf(5)
--variant
Specify the variant which the list or index records for the image. This option is typically used to distinguish between multiple entries which share the same architecture value, but which expect different versions of its instruction set.
Transport
Multiple transports are supported:
docker://
docker-reference
(default)
An image in a registry implementing the "Docker
Registry HTTP API V2". By default, uses the
authorization state in
$XDG_RUNTIME_DIR/containers/auth.json
, which is set
using
(podman login)
. If the authorization state is
not found there,
$HOME/.docker/config.json
is
checked, which is set using
(docker login)
.
$ podman manifest add mylist:v1.11 docker://quay.io/username/myimage
containers-storage:
oci-reference
An image in
oci-reference
format stored in the local
container storage.
oci-reference
must contain a
tag.
$ podman manifest add mylist:v1.11 containers-storage:quay.io/username/myimage
dir:
path
An existing local directory
path
storing the
manifest, layer tarballs, and signatures as individual
files. This
is a non-standardized format, primarily useful for debugging
or noninvasive container inspection.
$ podman manifest add dir:/tmp/myimage
docker-archive:
path
[
:
docker-reference
]
An image is stored in the
docker save
formatted file.
docker-reference
is only used when creating such a
file, and it must not contain a digest.
$ podman manifest add docker-archive:/tmp/myimage
docker-daemon:
docker-reference
An image in
docker-reference
format stored in the
docker daemon internal storage. The
docker-reference
can also be an image ID (docker-daemon:algo:digest).
$ sudo podman manifest add docker-daemon:docker.io/library/myimage:33
oci-archive:
path
:
tag
An image
tag
in a directory compliant with "Open
Container Image Layout Specification" at
path
.
$ podman manifest add oci-archive:/tmp/myimage
EXAMPLE
Add specified default image from source manifest list to destination manifest list:
podman manifest
add mylist:v1.11 docker://fedora
71c201d10fffdcac52968a000d85a0a016ca1c7d5473948000d3131c1773d965
Add all images from source manifest list to destination manifest list:
podman manifest
add --all mylist:v1.11 docker://fedora
71c201d10fffdcac52968a000d85a0a016ca1c7d5473948000d3131c1773d965
Add selected image matching arch and variant from source manifest list to destination manifest list:
podman manifest add --arch arm64 --variant v8 mylist:v1.11 docker://71c201d10fffdcac52968a000d85a0a016ca1c7d5473948000d3131c1773d965
SEE ALSO
podman(1) , podman-manifest(1)