umoci-remove(1)(#)
π umoci-remove β the "okay bye bestie" of OCI tags
so this is a page from the umoci manual (section 1, the commands-and-user-tools girlies β¨), written by Aleksa Sarai back in DECEMBER 2016. yes it's old, no it's not expired, it's vintage. π
πΈ NAME πΈ
umoci remove β Removes tags from OCI images. it's giving "block and delete" but for tags. π
β¨ SYNOPSIS β¨
umoci remove --image=image[:tag]
umoci rm --image=image[:tag]
two whole ways to say the same thing, because remove is long and rm is the lowercase little sister. both slay. π«Ά
π¦ DESCRIPTION π¦
okay so here's the tea: this command Removes the given tag from the OCI image. that's it. that's the whole job. β¨
but β and this is the part everyone misses β the relevant blobs are not removed. like, the tag goes away but the actual data is still chilling in there. ngl if you thought deleting the tag frees up space you were lowkey wrong π. in order to remove all unused blobs see umoci-gc(1) β that's the one that actually does the cleanup, and she's a whole separate command. π
π OPTIONS π
--image=image[:tag]β The source OCI image tag to remove.imagemust be a path to a valid OCI image andtagmust be a valid tag name. and here's the plot twist bestie:umoci-remove(1)does not return an error if the tag did not exist. so if you're deleting something that isn't there, she'll just shrug and move on, no drama, no error message. π Iftagis not provided it defaults to"latest"β so yes, no tag means you're deletinglatest, main character behaviour. π
π EXAMPLE π
The following creates a copy of a tag and then deletes the original. it's giving "make a backup bestie then yeet the og" π§
% umoci tag --image image:tag new-tag
% umoci rm --image image:tag
step one: copy image:tag into new-tag so you don't lose her. step two: umoci rm --image image:tag and she's gone, but the blobs are still in there, remember? go see umoci-gc(1) if that's bugging you. π₯
π SEE ALSO π
π quick vibe check: this removes the tag, not the blobs. do not come for me later saying your disk is full, i warned you, i literally warned you, it's in the DESCRIPTION and everything. go run umoci-gc(1). π«Ά
okay that's the whole page bestie β this was umoci-remove(1) from the umoci manual, source tag tag / umoci, dated DECEMBER 2016, authored by Aleksa Sarai. mwah, go delete responsibly. π
β¨π
π¦ where this page comes from
- arch rolling: umoci 0.6.0-1 Β· Apache-2.0
- fedora 43: umoci 0.6.0-1.fc43 Β· Apache-2.0 AND MIT AND BSD-2-Clause AND BSD-3-Clause AND ISC
- fedora 44: umoci 0.6.0-3.fc44 Β· Apache-2.0 AND MIT AND BSD-2-Clause AND BSD-3-Clause AND ISC
- nixos 26.05: umoci 0.6.0
- nixpkgs unstable: umoci 0.6.0
- ubuntu stonking: umoci 0.6.0+ds-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms