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
|
% OCI(1) OCI-IMAGE-TOOL User Manuals
% OCI Community
% JULY 2016
# NAME
oci-image-tool-unpack \- Unpack an image or image source layout
# SYNOPSIS
**oci-image-tool unpack** [src] [dest] [flags]
# DESCRIPTION
`oci-image-tool unpack` validates an application/vnd.oci.image.manifest.v1+json and unpacks its layered filesystem to `dest`.
# OPTIONS
**--help**
Print usage statement
**--ref**
The ref pointing to the manifest to be unpacked. This must be present in the "refs" subdirectory of the image. (default "v1.0")
**--type**
Type of the file to unpack. If unset, oci-image-tool will try to auto-detect the type. One of "imageLayout,image"
# EXAMPLES
```
$ skopeo copy docker://busybox oci:busybox-oci
$ mkdir busybox-bundle
$ oci-image-tool unpack --ref latest busybox-oci busybox-bundle
tree busybox-bundle
busybox-bundle
├── bin
│ ├── [
│ ├── [[
│ ├── acpid
│ ├── addgroup
│ ├── add-shell
│ ├── adduser
│ ├── adjtimex
│ ├── ar
│ ├── arp
│ ├── arping
│ ├── ash
[...]
```
# SEE ALSO
**oci-image-tool**(1), **skopeo**(1)
# HISTORY
July 2016, Originally compiled by Antonio Murdaca (runcom at redhat dot com)
|