aboutsummaryrefslogtreecommitdiff
path: root/docs/kpod-save.1.md
blob: dbcf96d04ac0291c7adee362181bc7ed5d16a965 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
% kpod(1) kpod-save - Simple tool to save an image to an archive
% Urvashi Mohnani
# kpod-save "1" "July 2017" "kpod"

## NAME
kpod-save - Save an image to docker-archive or oci-archive

## SYNOPSIS
**kpod save**
**NAME[:TAG]**
[**--quiet**|**-q**]
[**--format**]
[**--output**|**-o**]
[**--help**|**-h**]

## DESCRIPTION
**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.

**kpod [GLOBAL OPTIONS]**

**kpod save [GLOBAL OPTIONS]**

**kpod save [OPTIONS] NAME[:TAG]**

## OPTIONS

**--output, -o**
Write to a file, default is STDOUT

**--format**
Save image to **oci-archive**
```
--format oci-archive
```

**--quiet, -q**
Suppress the output

## EXAMPLES

```
# kpod save --quiet -o alpine.tar alpine:2.6
```

```
# kpod save > alpine-all.tar alpine
```

```
# kpod save -o oci-alpine.tar --format oci-archive alpine
```

## SEE ALSO
kpod(1), kpod-load(1), crio(8), crio.conf(5)

## HISTORY
July 2017, Originally compiled by Urvashi Mohnani <umohnani@redhat.com>