mirror of
https://github.com/containers/skopeo.git
synced 2025-09-19 17:15:32 +00:00
Adds sync with tag suffix example
Signed-off-by: Phil Corbett <phil@phicorb.me.uk>
This commit is contained in:
@@ -66,7 +66,7 @@ Print usage statement.
|
|||||||
|
|
||||||
**--scoped** Prefix images with the source image path, so that multiple images with the same name can be stored at _destination_.
|
**--scoped** Prefix images with the source image path, so that multiple images with the same name can be stored at _destination_.
|
||||||
|
|
||||||
**--append-suffix** _tag-suffix_ String to append to destination tags
|
**--append-suffix** _tag-suffix_ String to append to destination tags.
|
||||||
|
|
||||||
**--preserve-digests** Preserve the digests during copying. Fail if the digest cannot be preserved. Consider using `--all` at the same time.
|
**--preserve-digests** Preserve the digests during copying. Fail if the digest cannot be preserved. Consider using `--all` at the same time.
|
||||||
|
|
||||||
@@ -188,6 +188,16 @@ REPO TAGS
|
|||||||
registry.local.lan/repo/busybox 1-glibc, 1-musl, 1-ubuntu, ..., latest
|
registry.local.lan/repo/busybox 1-glibc, 1-musl, 1-ubuntu, ..., latest
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Synchronizing to a container registry with tag suffix
|
||||||
|
```
|
||||||
|
skopeo sync --src docker --dest docker --append-suffix '-mirror' registry.example.com/busybox my-registry.local.lan
|
||||||
|
```
|
||||||
|
Destination registry content:
|
||||||
|
```
|
||||||
|
REPO TAGS
|
||||||
|
registry.local.lan/busybox 1-glibc-mirror, 1-musl-mirror, 1-ubuntu-mirror, ..., latest-mirror
|
||||||
|
```
|
||||||
|
|
||||||
### YAML file content (used _source_ for `**--src yaml**`)
|
### YAML file content (used _source_ for `**--src yaml**`)
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
Reference in New Issue
Block a user