containers...elete-layer(1)

πŸ’– NAME πŸ’–

okay bestie, gather round, because this one's a little chaotic but honestly iconic.

containers-storage-delete-layer β€” it deletes a layer. that's the whole job. she's simple, she's focused, she's got main character energy and one single task πŸ’…


✨ SYNOPSIS ✨

containers-storage delete-layer layerNameOrID

so like, you run the containers-storage command, you tell her delete-layer, and then you hand her either a layerName or a layerID β€” she'll take either one, she's flexible like that 🫢


🌸 DESCRIPTION 🌸

here's the vibe check: this command deletes a layer. but β€” and this is the important part, no cap β€” she's picky about it. she will only actually delete that layer if all three of these are true:

  • the layer is not currently being used by any images, and
  • the layer is not currently being used by any containers, and
  • the layer is not the parent of any other layers.

if any of that is going on? nope. she's not doing it. that layer is booked and busy and she respects the commitments 😌

not me explaining it like it's a situationship, but fr fr: a layer that's still in use or still raising other layers cannot be deleted. periodt.

πŸ¦‹ EXAMPLE πŸ¦‹

want to see her in action? here you go:

containers-storage delete-layer my-base-layer

look at her go. so clean. so effortless. she ate πŸ’–


πŸ”₯ SEE ALSO πŸ”₯

the girlies in this friend group:

(and yes, she's linking herself in the see-also. self-love, we stan πŸ‘‘)


sign-off time πŸŽ€ β€” this little page is from way back in August 2016, and she goes by the manual name containers...elete-layer(1). a vintage queen. she's been out here deleting layers since before some of us could even read. mwah πŸ’œ

πŸ“¦ where this page comes from