containers...elete-image(1)
π containers-storage-delete-image β the manual, but make it make sense
okay bestie, welcome to the General Commands Manual section for containers-storage-delete-image β yes the page header says containers...elete-image(1) because the terminal is dramatic and truncates, but you and me? we know her full name. π
β¨ NAME β¨
containers-storage-delete-image β delete an image. that's it. that's the whole vibe. bye girl π
πΈ SYNOPSIS πΈ
containers-storage delete-image imageNameOrID
so you literally just hand it an imageNameOrID and it handles the rest. no cap.
π¦ DESCRIPTION π¦
okay so here's the tea β β this command deletes an image, but only if it is not currently being used by any containers. if some container is out there clinging to it, nope, not today.
and then the cascade? iconic. β¨
- if the image's top layer is not being used by any other images, it will be removed.
- if that image's parent is then not being used by other images, it, too, will be removed.
- and this will be repeated for each parent's parent. π«Ά
it's giving domino effect. it's giving generational cleanup. one image leaves and the whole family tree gets a vibe check. π
fr fr though β read that again, because it's not just deleting one thing, it's walking all the way up the ancestry and yeeting every layer that nobody else is holding onto. main character energy with zero survivors. π
π EXAMPLE π
containers-storage delete-image my-base-image
look at her go. my-base-image? gone. not me being obsessed with how clean that is. π§
π SEE ALSO π
containers-storage-create-image(1)β for when you want to make one instead of delete one, we love a reversible queen πcontainers-storage-delete-container(1)β containers, not images, but same energy πcontainers-storage-delete-layer(1)β when you wanna go straight for the layers, no middleman β¨
and that's the page!! this lil corner of the General Commands Manual has been serving since August 2016, and the footer still reads containers...elete-image(1) β so yeah, she's been iconic for a minute. mwah. ππ¦π
π¦ where this page comes from
- ubuntu resolute: containers-storage 1.61.0+ds1-6 Β· Apache-2.0
- ubuntu stonking: containers-storage 1.63.0-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms