containers-storage-copy(1)
β¨ containers-storage-copy β the copy page, but make it fashion β¨
okay so bestie, you're in the containers-storage manual (that's the manual name, in case you were wondering, and yes you were) and this particular page is all about containers-storage-copy β copying content into a layer. sit down, grab a strawberry π, we're doing this.
π NAME π
containers-storage-copy β copy content into a layer. that's it. that's the whole job. iconic behaviour honestly. π
πΈ SYNOPSIS πΈ
containers-storage copy [--chown UID[:GID]] [sourceLayerNameOrID:]/path
[...] targetLayerNameOrID:/path
so like. you got a source (either a path inside a layer, written as sourceLayerNameOrID: plus the path, or just a plain path that lives outside of layers entirely), and you got a destination that's always targetLayerNameOrID:/path. and you can stack up multiple sources before that target, hence the [...]. slay. π
π¦ DESCRIPTION π¦
Copying contents from a layer β or from outside of layers β into a layer, and doing the ID mapping as appropriate while it happens. that's the vibe. that's the whole assignment. no cap. β¨
π OPTIONS π
--chown UID[:GID]β sets the owners of the newly copied stuff to the UID/GID pair you give it. if you're feeling lazy and only pass theUID, then that UID gets used for the GID too, periodt. and the owner IDs get mapped as appropriate for the target layer, which is the important part, so don't skip past that. π«Ά
π EXAMPLE π
here's the moment you've all been waiting for:
containers-storage copy layer-with-mapping:/root/config.txt layer-with-different-mapping:/root/config.txt
look at her. copying /root/config.txt out of layer-with-mapping and into layer-with-different-mapping, same path both sides, different mappings. the mapping girlies are thriving. ππ₯
π SEE ALSO π
containers-storage(1) β go read the big one, bestie, it's giving main character energy.
and that's a wrap, babes! this little page came from the General Commands Manual, dated April 2018, and its source is the containers-storage-copy(1) manual page. 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