podman-artifact-rm(1)
π podman-artifact-rm β the glow-up removal era β¨
Okay bestie, welcome to the podman-artifact-rm(1) page, straight out of the General Commands Manual π this is the one where you yeet OCI artifacts out of local storage, and honestly? It's giving clean-girl closet-cleanout energy π
β¨ NAME β¨
podman-artifact-rm β remove one or more OCI artifacts from local storage ποΈπ
β¨ SYNOPSIS β¨
podman artifact rm [options] name
no cap, that's the whole vibe β command, options, name, done π«Ά
πΈ DESCRIPTION πΈ
So basically: this removes one or more artifacts from the local artifact store π¦ and the input? it can be the fully qualified artifact name, or a full or partial artifact digest. literally either one, she's flexible like that β¨
π OPTIONS π
π --all, -a
Removes all the artifacts in the local store π everything must go, spring cleaning icon behaviour. but heads up bestie β using this option conflicts with providing a name or digest of the artifact π it's an either/or situation, pick a lane fr fr
π --ignore, -i
Removes artifacts in the local store, ignoring errors when trying to remove artifacts that don't exist π like, if it's not there, she's not gonna make it a whole thing. no drama, just vibes π
β EXAMPLES β
π Remove an artifact by name.
$ podman artifact rm quay.io/artifact/foobar2:test
Deleted: e7b417f49fc24fc7ead6485da0ebd5bc4419d8a3f394c169fee5a6f38faa4056
π Remove multiple artifacts by their shortened IDs.
$ podman artifact rm c4dfb1609ee2 93fd78260bd1 c0ed59d05ff7
three at once, multitasking queen π
π Remove an artifact by partial digest.
$ podman artifact rm e7b417f49fc
Deleted: e7b417f49fc24fc7ead6485da0ebd5bc4419d8a3f394c169fee5a6f38faa4056
see how the partial digest matches up to the full one? iykyk π
π Remove all artifacts in local storage.
$ podman artifact rm -a
Deleted: cee15f7c5ce3e86ae6ce60d84bebdc37ad34acfa9a2611cf47501469ac83a1ab
Deleted: 72875f8f6f78d5b8ba98b2dd2c0a6f395fde8f05ff63a1df580d7a88f5afa97b
look at all those Deleted lines, so satisfying πβ¨
π Remove artifacts ignoring the errors if the artifact does not exist.
$ podman artifact rm -i 3f78d5b8ba98b2
she ate and left no crumbs, and also no errors π₯
π¦ SEE ALSO π¦
podman(1), podman-artifact(1) β go read those too bestie, they're iconic π
π HISTORY π
Jan 2025, originally compiled by Brent Baude bbaude@redhat.com β¨mailto:bbaude@redhat.comβ© β ty for your service king π«Ά
and that's the whole page, bestie! this cutie footer says podman-artifact-rm(1) and it's dated Jan 2025 β stan a documented artifact remover π
β¨π
π¦ where this page comes from
- arch rolling: podman-docker 6.1.4-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms