From 55044627cc33acc622bbe215a89694d082ec32bc Mon Sep 17 00:00:00 2001 From: Philipp Homann Date: Mon, 30 Mar 2020 08:31:19 +0200 Subject: [PATCH] Add example with repository Fixes #854 Signed-off-by: Philipp Homann --- docs/skopeo-sync.1.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/docs/skopeo-sync.1.md b/docs/skopeo-sync.1.md index ddeb8eef..ae7f03bc 100644 --- a/docs/skopeo-sync.1.md +++ b/docs/skopeo-sync.1.md @@ -105,8 +105,18 @@ skopeo sync --src docker --dest docker registry.example.com/busybox my-registry. ``` Destination registry content: ``` -REPO TAGS -registry.example.com/busybox 1-glibc, 1-musl, 1-ubuntu, ..., latest +REPO TAGS +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**`)