2017-07-14 14:31:02 +00:00
|
|
|
% kpod(1) kpod-save - Simple tool to save an image to an archive
|
|
|
|
% Urvashi Mohnani
|
|
|
|
# kpod-save "1" "July 2017" "kpod"
|
|
|
|
|
|
|
|
## NAME
|
2017-08-02 20:32:44 +00:00
|
|
|
kpod-save - Save an image to docker-archive or oci-archive
|
2017-07-14 14:31:02 +00:00
|
|
|
|
|
|
|
## SYNOPSIS
|
|
|
|
**kpod save**
|
|
|
|
**NAME[:TAG]**
|
|
|
|
[**--help**|**-h**]
|
|
|
|
|
|
|
|
## DESCRIPTION
|
2017-08-02 20:32:44 +00:00
|
|
|
**kpod save** saves an image to either **docker-archive** or **oci-archive**
|
|
|
|
on the local machine, default is **docker-archive**.
|
|
|
|
**kpod save** writes to STDOUT by default and can be redirected to a file using the **output** flag.
|
|
|
|
The **quiet** flag suppresses the output when set.
|
2017-07-14 14:31:02 +00:00
|
|
|
|
|
|
|
**kpod [GLOBAL OPTIONS]**
|
|
|
|
|
|
|
|
**kpod save [GLOBAL OPTIONS]**
|
|
|
|
|
|
|
|
**kpod save [OPTIONS] NAME[:TAG] [GLOBAL OPTIONS]**
|
|
|
|
|
|
|
|
## OPTIONS
|
|
|
|
|
|
|
|
**--output, -o**
|
|
|
|
Write to a file, default is STDOUT
|
|
|
|
|
2017-08-02 20:32:44 +00:00
|
|
|
**--format**
|
|
|
|
Save image to **oci-archive**
|
|
|
|
```
|
|
|
|
--format oci-archive
|
|
|
|
```
|
|
|
|
|
2017-07-14 14:31:02 +00:00
|
|
|
**--quiet, -q**
|
|
|
|
Suppress the output
|
|
|
|
|
|
|
|
## GLOBAL OPTIONS
|
|
|
|
|
|
|
|
**--help, -h**
|
|
|
|
Print usage statement
|
|
|
|
|
|
|
|
## EXAMPLES
|
|
|
|
|
|
|
|
```
|
|
|
|
# kpod save --quiet -o alpine.tar alpine:2.6
|
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
# kpod save > alpine-all.tar alpine
|
|
|
|
```
|
|
|
|
|
2017-08-02 20:32:44 +00:00
|
|
|
```
|
|
|
|
# kpod save -o oci-alpine.tar --format oci-archive alpine
|
|
|
|
```
|
|
|
|
|
2017-07-14 14:31:02 +00:00
|
|
|
## SEE ALSO
|
|
|
|
kpod(1), kpod-load(1), crio(8), crio.conf(5)
|
|
|
|
|
|
|
|
## HISTORY
|
|
|
|
July 2017, Originally compiled by Urvashi Mohnani <umohnani@redhat.com>
|