logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

oci-image-tool unpack - Unpack an image or image source layout

Description

oci-image-toolunpack  validates  an  application/vnd.oci.image.manifest.v1+json and unpacks its layered
       filesystem to dest.

Examples

              $ skopeo copy docker://busybox oci:busybox-oci:latest
              $ mkdir busybox-bundle
              $ oci-image-tool unpack --ref name=latest busybox-oci busybox-bundle
              $ tree busybox-bundle
              busybox-bundle
              ├── bin
              │   ├── [
              │   ├── [[
              │   ├── acpid
              │   ├── addgroup
              │   ├── add-shell
              │   ├── adduser
              │   ├── adjtimex
              │   ├── ar
              │   ├── arp
              │   ├── arping
              │   ├── ash
              [...]

History

       Sept 2016, Originally compiled by Antonio Murdaca (runcom at redhat dot com)

Tool                                                  Image                        OCI-IMAGE-TOOL-UNPACK(1)(OCI)

Name

       oci-image-tool unpack - Unpack an image or image source layout

Options

--help
         Print usage statement

       --ref=[]
         Specify the search criteria for the validated reference, format is A=B.
         Reference should point to a manifest or index.
         e.g. --ref name=v1.0 --ref platform.os=latest
         Only support name, platform.os and digest three cases.

       --type=""
         Type of the file to unpack. If  unset,  oci-image-tool  will  try  to  auto-detect  the  type.  One  of
       "imageLayout,image,imageZip"

       --platform=""
         Specify the os and architecture of the manifest, format is OS:Architecture.
         e.g. --platform linux:amd64
         Only applicable if reftype is index.

See Also

skopeo(1)

Synopsis

oci-image-toolunpack [src] [dest] [OPTIONS]

See Also