From 8c1a69d1f66b0ca99829340c299200bfb819a423 Mon Sep 17 00:00:00 2001 From: Marcos Paulo de Souza Date: Mon, 6 Nov 2017 22:54:11 -0200 Subject: [PATCH] README.md: Fix example of skopeo copy command In README.md, there is an example of skopeo copy command to download an image in OCI format, but the current code returns an error: skopeo copy docker://busybox:latest oci:busybox_ocilayout FATA[0000] Error initializing destination oci:tmp:: cannot save image with empty image.ref.name If we add a tag after the oci directory, the problem is gone: skopeo copy docker://busybox:latest oci:busybox_ocilayout:latest Fixes: #446 Signed-off-by: Marcos Paulo de Souza --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 25b67ae8..549d0489 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ local directories, and local OCI-layout directories: ```sh $ skopeo copy docker://busybox:1-glibc atomic:myns/unsigned:streaming $ skopeo copy docker://busybox:latest dir:existingemptydirectory -$ skopeo copy docker://busybox:latest oci:busybox_ocilayout +$ skopeo copy docker://busybox:latest oci:busybox_ocilayout:latest ``` Deleting images