Debian Codegraph @

man/oci-image-tool-unpack.1.md

raw symbols SCIP
1 % OCI-IMAGE-TOOL-UNPACK(1) OCI Image Tool User Manuals
2 % OCI Community
3 % JULY 2016
4 # NAME
5 oci-image-tool unpack \- Unpack an image or image source layout
6
7 # SYNOPSIS
8 **oci-image-tool unpack** [src] [dest] [OPTIONS]
9
10 # DESCRIPTION
11 `oci-image-tool unpack` validates an application/vnd.oci.image.manifest.v1+json and unpacks its layered filesystem to `dest`.
12
13 # OPTIONS
14 **--help**
15 Print usage statement
16
17 **--ref**=[]
18 Specify the search criteria for the validated reference, format is A=B.
19 Reference should point to a manifest or index.
20 e.g. --ref name=v1.0 --ref platform.os=latest
21 Only support `name`, `platform.os` and `digest` three cases.
22
23 **--type**=""
24 Type of the file to unpack. If unset, oci-image-tool will try to auto-detect the type. One of "imageLayout,image,imageZip"
25
26 **--platform**=""
27 Specify the os and architecture of the manifest, format is OS:Architecture.
28 e.g. --platform linux:amd64
29 Only applicable if reftype is index.
30
31 # EXAMPLES
32 ```
33 $ skopeo copy docker://busybox oci:busybox-oci:latest
34 $ mkdir busybox-bundle
35 $ oci-image-tool unpack --ref name=latest busybox-oci busybox-bundle
36 $ tree busybox-bundle
37 busybox-bundle
38 ├── bin
39 │   ├── [
40 │   ├── [[
41 │   ├── acpid
42 │   ├── addgroup
43 │   ├── add-shell
44 │   ├── adduser
45 │   ├── adjtimex
46 │   ├── ar
47 │   ├── arp
48 │   ├── arping
49 │   ├── ash
50 [...]
51 ```
52
53 # SEE ALSO
54 **skopeo**(1)
55
56 # HISTORY
57 Sept 2016, Originally compiled by Antonio Murdaca (runcom at redhat dot com)