Skip to content

Commit

Permalink
README.md: fix example
Browse files Browse the repository at this point in the history
Otherwise it will error:
```
cannot save image with empty image.ref.name
```

Signed-off-by: Hongchao Deng <[email protected]>
  • Loading branch information
hongchaodeng committed Dec 14, 2017
1 parent 5926358 commit d3c33be
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ The following examples assume you have a [image-layout](https://github.com/openc
One way to acquire that image is with [skopeo](https://github.com/projectatomic/skopeo#installing):

```
$ skopeo copy docker://busybox oci:busybox-oci
$ skopeo copy docker://busybox oci:busybox-oci:latest
```

### oci-image-tool-create
Expand Down
2 changes: 1 addition & 1 deletion man/oci-image-tool-create.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ runtime-spec-compatible `dest/config.json`.

# EXAMPLES
```
$ skopeo copy docker://busybox oci:busybox-oci
$ skopeo copy docker://busybox oci:busybox-oci:latest
$ mkdir busybox-bundle
$ oci-image-tool create --ref latest busybox-oci busybox-bundle
$ cd busybox-bundle && sudo runc run busybox
Expand Down
2 changes: 1 addition & 1 deletion man/oci-image-tool-unpack.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ oci-image-tool unpack \- Unpack an image or image source layout

# EXAMPLES
```
$ skopeo copy docker://busybox oci:busybox-oci
$ skopeo copy docker://busybox oci:busybox-oci:latest
$ mkdir busybox-bundle
$ oci-image-tool unpack --ref latest busybox-oci busybox-bundle
$ tree busybox-bundle
Expand Down
2 changes: 1 addition & 1 deletion man/oci-image-tool-validate.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ oci-image-tool validate \- Validate one or more image files

# EXAMPLES
```
$ skopeo copy docker://busybox oci:busybox-oci
$ skopeo copy docker://busybox oci:busybox-oci:latest
$ oci-image-tool validate --type imageLayout --ref latest busybox-oci
busybox-oci: OK
```
Expand Down

0 comments on commit d3c33be

Please sign in to comment.