containers-storage-diff(1)

πŸ’– containers-storage-diff β€” generate a layer diff πŸ’–

okay bestie, welcome to the containers-storage-diff page from the General Commands Manual 🌸 this one lives in the containers-storage family of commands and it's literally just here to hand you a diff of one single layer. no cap. let's get into it ✨


✨ NAME ✨

containers-storage-diff β€” generate a layer diff πŸ¦‹


✨ SYNOPSIS ✨

containers-storage diff [options [...]] layerNameOrID

so it's diff, then options if you want any (zero is fine, she's flexible πŸ’…), then the layerNameOrID β€” the layer you're asking about, by name or by ID. that part is not optional. periodt.


✨ DESCRIPTION ✨

Okay so here's the tea πŸ«–: this command generates a layer diff that represents the changes that were made in the layer you specified. like, what actually happened in there.

And here's the part that's genuinely iconic β€” if that layer was populated using a layer diff, the result aims to be bit-for-bit identical with the one that was applied. that includes the type of compression that was applied too. not similar. not close enough. bit-for-bit. the way she does that?? obsessed πŸ˜­πŸ’–


✨ OPTIONS ✨

  • -f, --file file β€” write the diff to the file you name instead of letting it spill out onto stdout. very "put it somewhere specific" of you πŸ’…
  • -c, --gzip β€” force the diff to be compressed with gzip compression. but lowkey, if the layer was populated by a layer diff and that layer diff was compressed, this happens automatically anyway β€” no flag needed, she just knows ✨
  • -u, --uncompressed β€” force the diff to be uncompressed. and fr fr, if the layer was populated by a layer diff and that layer diff was compressed, it gets decompressed for the output. so you get the raw thing 🌸

✨ EXAMPLE ✨

containers-storage diff my-base-layer

look at her go πŸ‘‘ one command, one layer, one diff. we love a simple queen.


✨ SEE ALSO ✨

go bother these next, they're all in the same friend group 🫢


and that's the whole page bestie, you ate that πŸ’…βœ¨ this one's dated August 2016, it's containers-storage-diff(1) from the General Commands Manual, and it's been serving bit-for-bit realness ever since πŸŽ€ bye mwah πŸ’–

πŸ“¦ where this page comes from