mirror of
https://github.com/containers/skopeo.git
synced 2025-08-11 03:12:26 +00:00
Add an example for creating a docker-archive file
... with the image correctly tagged. I also snuck a warning against `docker-archive:` in there. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
parent
fb4c49739f
commit
9c6cbc94c7
@ -228,6 +228,11 @@ $ ls /var/lib/images/busybox/*
|
|||||||
/tmp/busybox/8ddc19f16526912237dd8af81971d5e4dd0587907234be2b83e249518d5b673f.tar
|
/tmp/busybox/8ddc19f16526912237dd8af81971d5e4dd0587907234be2b83e249518d5b673f.tar
|
||||||
```
|
```
|
||||||
|
|
||||||
|
To create an archive consumable by `docker load` (but note that using a registry is almost always more efficient):
|
||||||
|
```sh
|
||||||
|
$ skopeo copy docker://busybox:latest docker-archive:archive-file.tar:busybox:latest
|
||||||
|
```
|
||||||
|
|
||||||
To copy and sign an image:
|
To copy and sign an image:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
Loading…
Reference in New Issue
Block a user