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,--filefile β 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
- 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