Merge pull request #870 from PhilippHomann/master

Sync: Add example with repository
This commit is contained in:
Miloslav Trmač 2020-03-30 14:54:35 +02:00 committed by GitHub
commit 018a0108b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,8 +105,18 @@ skopeo sync --src docker --dest docker registry.example.com/busybox my-registry.
``` ```
Destination registry content: Destination registry content:
``` ```
REPO TAGS REPO TAGS
registry.example.com/busybox 1-glibc, 1-musl, 1-ubuntu, ..., latest registry.local.lan/busybox 1-glibc, 1-musl, 1-ubuntu, ..., latest
```
### Synchronizing to a container registry keeping the repository
```
skopeo sync --src docker --dest docker registry.example.com/repo/busybox my-registry.local.lan/repo
```
Destination registry content:
```
REPO TAGS
registry.local.lan/repo/busybox 1-glibc, 1-musl, 1-ubuntu, ..., latest
``` ```
### YAML file content (used _source_ for `**--src yaml**`) ### YAML file content (used _source_ for `**--src yaml**`)