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>
979 B
979 B
% podman-artifact-rm 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-rm - Remove an OCI from local storage
SYNOPSIS
podman artifact rm name
DESCRIPTION
Remove an artifact from the local artifact store. The input may be the fully qualified artifact name or a full or partial artifact digest.
OPTIONS
--help
Print usage statement.
EXAMPLES
Remove an artifact by name
$ podman artifact rm quay.io/artifact/foobar2:test
e7b417f49fc24fc7ead6485da0ebd5bc4419d8a3f394c169fee5a6f38faa4056
Remove an artifact by partial digest
$ podman artifact rm e7b417f49fc
e7b417f49fc24fc7ead6485da0ebd5bc4419d8a3f394c169fee5a6f38faa4056
SEE ALSO
HISTORY
Jan 2025, Originally compiled by Brent Baude bbaude@redhat.com