mirror of
https://github.com/containers/skopeo.git
synced 2025-08-15 05:03:38 +00:00
Merge pull request #870 from PhilippHomann/master
Sync: Add example with repository
This commit is contained in:
commit
018a0108b1
@ -106,7 +106,17 @@ 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**`)
|
||||||
|
Loading…
Reference in New Issue
Block a user