mirror of
https://github.com/containers/podman.git
synced 2025-12-02 11:08:36 +08:00
the podman artifact verb is used to manage OCI artifacts. the following verbs were added to `podman artifact`: * add * inspect * ls * pull * push * rm Notable items with this PR: * all artifact commands and their output are subject to change. i.e. consider all of this tech preview * there is no way to add a file to an artifact that already exists in the store. you would need to delete and recreate the artifact. * all references to artifacts names should be fully qualified names in the form of repo/name:tag (i.e. quay.io/artifact/foobar:latest) * i understand that we will likely want to be able to attribute things like arch, etc to artifact files. this function is not available yet. Many thanks to Paul Holzinger for autocompletion PRs and review PRs that fixed issues early on. Also fix up some Args function to specify the correct number of args. Signed-off-by: Paul Holzinger <pholzing@redhat.com> Signed-off-by: Brent Baude <bbaude@redhat.com>
1.1 KiB
1.1 KiB
% podman-artifact-add 1
WARNING: Experimental command
This command is considered experimental and still in development. Inputs, options, and outputs are all subject to change.
NAME
podman-artifact-add - Add an OCI artifact to the local store
SYNOPSIS
podman artifact add name file [file]...
DESCRIPTION
Add an OCI artifact to the local store from the local filesystem. You must provide at least one file to create the artifact, but several can also be added.
OPTIONS
--help
Print usage statement.
EXAMPLES
Add a single file to an artifact
$ podman artifact add quay.io/myartifact/myml:latest /tmp/foobar.ml
0fe1488ecdef8cc4093e11a55bc048d9fc3e13a4ba846efd24b5a715006c95b3
Add multiple files to an artifact
$ podman artifact add quay.io/myartifact/myml:latest /tmp/foobar1.ml /tmp/foobar2.ml
1487acae11b5a30948c50762882036b41ac91a7b9514be8012d98015c95ddb78
SEE ALSO
HISTORY
Jan 2025, Originally compiled by Brent Baude bbaude@redhat.com