github.com/containers/podman/v2@v2.2.2-0.20210501105131-c1e07d070c4c/docs/source/markdown/podman-image-tree.1.md (about)

     1  % podman-image-tree(1)
     2  
     3  ## NAME
     4  podman\-image\-tree - Prints layer hierarchy of an image in a tree format
     5  
     6  ## SYNOPSIS
     7  **podman image tree** [*options*] *image:tag*|*image-id*
     8  
     9  
    10  ## DESCRIPTION
    11  Prints layer hierarchy of an image in a tree format.
    12  If you do not provide a *tag*, Podman will default to `latest` for the *image*.
    13  Layers are indicated with image tags as `Top Layer of`, when the tag is known locally.
    14  ## OPTIONS
    15  
    16  #### **--help**, **-h**
    17  
    18  Print usage statement
    19  
    20  #### **--whatrequires**
    21  
    22  Show all child images and layers of the specified image
    23  
    24  ## EXAMPLES
    25  
    26  ```
    27  $ podman pull docker.io/library/wordpress
    28  $ podman pull docker.io/library/php:7.2-apache
    29  
    30  $ podman image tree docker.io/library/wordpress
    31  Image ID: 6e880d17852f
    32  Tags:    [docker.io/library/wordpress:latest]
    33  Size:    429.9MB
    34  Image Layers
    35  ├──  ID: 3c816b4ead84 Size: 58.47MB
    36  ├──  ID: e39dad2af72e Size: 3.584kB
    37  ├──  ID: b2d6a702383c Size: 213.6MB
    38  ├──  ID: 94609408badd Size: 3.584kB
    39  ├──  ID: f4dddbf86725 Size: 43.04MB
    40  ├──  ID: 8f695df43a4c Size: 11.78kB
    41  ├──  ID: c29d67bf8461 Size: 9.728kB
    42  ├──  ID: 23f4315918f8 Size:  7.68kB
    43  ├──  ID: d082f93a18b3 Size: 13.51MB
    44  ├──  ID: 7ea8bedcac69 Size: 4.096kB
    45  ├──  ID: dc3bbf7b3dc0 Size: 57.53MB
    46  ├──  ID: fdbbc6404531 Size: 11.78kB
    47  ├──  ID: 8d24785437c6 Size: 4.608kB
    48  ├──  ID: 80715f9e8880 Size: 4.608kB Top Layer of: [docker.io/library/php:7.2-apache]
    49  ├──  ID: c93cbcd6437e Size: 3.573MB
    50  ├──  ID: dece674f3cd1 Size: 4.608kB
    51  ├──  ID: 834f4497afda Size: 7.168kB
    52  ├──  ID: bfe2ce1263f8 Size: 40.06MB
    53  └──  ID: 748e99b214cf Size: 11.78kB Top Layer of: [docker.io/library/wordpress:latest]
    54  
    55  $ podman pull docker.io/circleci/ruby:latest
    56  $ podman pull docker.io/library/ruby:latest
    57  
    58  $ podman image tree ae96a4ad4f3f --whatrequires
    59  Image ID: ae96a4ad4f3f
    60  Tags:    [docker.io/library/ruby:latest]
    61  Size:    894.2MB
    62  Image Layers
    63  └──  ID: 9c92106221c7 Size:  2.56kB Top Layer of: [docker.io/library/ruby:latest]
    64   ├──  ID: 1b90f2b80ba0 Size: 3.584kB
    65   │   ├──  ID: 42b7d43ae61c Size: 169.5MB
    66   │   ├──  ID: 26dc8ba99ec3 Size: 2.048kB
    67   │   ├──  ID: b4f822db8d95 Size: 3.957MB
    68   │   ├──  ID: 044e9616ef8a Size: 164.7MB
    69   │   ├──  ID: bf94b940200d Size: 11.75MB
    70   │   ├──  ID: 4938e71bfb3b Size: 8.532MB
    71   │   └──  ID: f513034bf553 Size: 1.141MB
    72   ├──  ID: 1e55901c3ea9 Size: 3.584kB
    73   ├──  ID: b62835a63f51 Size: 169.5MB
    74   ├──  ID: 9f4e8857f3fd Size: 2.048kB
    75   ├──  ID: c3b392020e8f Size: 3.957MB
    76   ├──  ID: 880163026a0a Size: 164.8MB
    77   ├──  ID: 8c78b2b14643 Size: 11.75MB
    78   ├──  ID: 830370cfa182 Size: 8.532MB
    79   └──  ID: 567fd7b7bd38 Size: 1.141MB Top Layer of: [docker.io/circleci/ruby:latest]
    80  
    81  ```
    82  
    83  
    84  ## SEE ALSO
    85  podman(1)
    86  
    87  ## HISTORY
    88  Feb 2019, Originally compiled by Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp>