diff --git a/cmd/skopeo/copy.go b/cmd/skopeo/copy.go index 084b295b..4a261bac 100644 --- a/cmd/skopeo/copy.go +++ b/cmd/skopeo/copy.go @@ -56,7 +56,7 @@ Supported transports: See skopeo(1) section "IMAGE NAMES" for the expected format `, strings.Join(transports.ListNames(), ", ")), RunE: commandAction(opts.run), - Example: `skopeo copy --sign-by dev@example.com container-storage:example/busybox:streaming docker://example/busybox:gold`, + Example: `skopeo copy docker://quay.io/skopeo/stable:latest docker://registry.example.com/skopeo:latest`, } adjustUsage(cmd) flags := cmd.Flags() diff --git a/docs/skopeo-copy.1.md b/docs/skopeo-copy.1.md index 1bb19e8f..a422a024 100644 --- a/docs/skopeo-copy.1.md +++ b/docs/skopeo-copy.1.md @@ -86,6 +86,11 @@ Existing signatures, if any, are preserved as well. ## EXAMPLES +To just copy an image from one registry to another: +```sh +$ skopeo copy docker://quay.io/skopeo/stable:latest docker://registry.example.com/skopeo:latest +``` + To copy the layers of the docker.io busybox image to a local directory: ```sh $ mkdir -p /var/lib/images/busybox