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