containers-storage-copy1
Copy content into a layer
Usage
containers-storage copy
[--chown
UID
[:GID]]
[sourceLayerNameOrID:]
/path
[]
targetLayerNameOrID:/path
Overview
Copies contents from a layer, or outside of layers, into a layer, performing ID mapping as appropriate.
Options
--chown UID[:GID]
Set owners for the new copies to the specified UID/GID pair. If the GID is not specified, the UID is used. The owner IDs are mapped as appropriate for the target layer.
Examples
containers-storage copy layer-with-mapping:/root/config.txt layer-with-different-mapping:/root/config.txt
Releases
4 releases since Debian 11 (Bullseye); the text changed 2 times.