containers...-apply-diff(1)
β¨ containers-storage-apply-diff β the manual page β¨
okay so bestie, welcome to the containers...-apply-diff(1) page, from the General Commands Manual section π buckle up, it's short but it's important.
π NAME π
containers-storage-apply-diff β literally just: apply a layer diff to a layer. that's the whole vibe. π¦
πΈ SYNOPSIS πΈ
containers-storage apply-diff [options [...]] layerNameOrID
[referenceLayerNameOrID]
so you're giving it a layer (by name or ID, queen's choice π), and optionally a reference layer too. options go wherever, we're flexible. π
β¨ DESCRIPTION β¨
okay so picture this: when a layer is first created, it contains no changes relative to its parent layer. blank slate. clean girl aesthetic. π
so how do you get stuff into it? two ways, bestie:
- mount the layer read-write and modify its contents directly, or
- add (or remove) contents by applying a layer diff.
and what even is a layer diff, you ask? it's a (possibly compressed) tar archive with extra information living in its headers. you can make one by running containers-storage diff or something equivalent. that's it, that's the girl. π
lowkey important: layer diffs are not typically applied manually. more often they get applied by a tool that's importing an entire image β like skopeo. so if you're out here hand-applying diffs, you're kinda doing the most π (which, honestly? respect.)
π OPTIONS π
-f,--filefilename β tells it the name of the file the diff should be read from. and if you don't use this option? it reads the diff from standard input. stdin girlies rise up π«Ά
π₯ EXAMPLE π₯
here's the moment, the icon, the legend:
containers-storage apply-diff -f 71841c97e320d6cde.tar.gz layer1
that's it. that's the whole thing. ate. π
π SEE ALSO π
go read your sisters, they're all iconic:
and that's the page, bestie!! π this was containers...-apply-diff(1) (general commands manual energy, we love her) and it's dated August 2016 β vintage but still serving. go apply some diffs, stay hydrated, and remember: when in doubt, it's probably skopeo doing it for you πβ¨π§
π¦ 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