File: containers-storage-copy.md

package info (click to toggle)
golang-github-containers-storage 1.43.0%2Bds1-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,820 kB
  • sloc: sh: 581; ansic: 388; makefile: 164; awk: 12
file content (23 lines) | stat: -rw-r--r-- 717 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## containers-storage-copy 1 "April 2018"

## NAME
containers-storage copy - Copy content into a layer

## SYNOPSIS
**containers-storage** **copy** [--chown UID[:GID]] [*sourceLayerNameOrID*:]/path [...] *targetLayerNameOrID*:/path

## DESCRIPTION
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.

## EXAMPLE
**containers-storage copy layer-with-mapping:/root/config.txt layer-with-different-mapping:/root/config.txt**

## SEE ALSO
containers-storage(1)