mirror of
https://github.com/containers/skopeo.git
synced 2025-09-19 00:46:17 +00:00
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 <marcos.souza.org@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user