Merge pull request #1817 from mtrmac/copy-archive-example

Add an example for creating a docker-archive file
This commit is contained in:
Valentin Rothberg 2022-12-07 09:19:47 +01:00 committed by GitHub
commit e024c43892
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -228,6 +228,11 @@ $ ls /var/lib/images/busybox/*
/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:
```sh