github.com/containers/podman/v5@v5.1.0-rc1/docs/source/markdown/podman-image-tree.1.md (about)

     1  % podman-image-tree 1
     2  
     3  ## NAME
     4  podman\-image\-tree - Print 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 no *tag* is provided, Podman defaults 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  List image tree information on specified image:
    27  ```
    28  $ podman image tree docker.io/library/wordpress
    29  Image ID: 6e880d17852f
    30  Tags:    [docker.io/library/wordpress:latest]
    31  Size:    429.9MB
    32  Image Layers
    33  ├──  ID: 3c816b4ead84 Size: 58.47MB
    34  ├──  ID: e39dad2af72e Size: 3.584kB
    35  ├──  ID: b2d6a702383c Size: 213.6MB
    36  ├──  ID: 94609408badd Size: 3.584kB
    37  ├──  ID: f4dddbf86725 Size: 43.04MB
    38  ├──  ID: 8f695df43a4c Size: 11.78kB
    39  ├──  ID: c29d67bf8461 Size: 9.728kB
    40  ├──  ID: 23f4315918f8 Size:  7.68kB
    41  ├──  ID: d082f93a18b3 Size: 13.51MB
    42  ├──  ID: 7ea8bedcac69 Size: 4.096kB
    43  ├──  ID: dc3bbf7b3dc0 Size: 57.53MB
    44  ├──  ID: fdbbc6404531 Size: 11.78kB
    45  ├──  ID: 8d24785437c6 Size: 4.608kB
    46  ├──  ID: 80715f9e8880 Size: 4.608kB Top Layer of: [docker.io/library/php:7.2-apache]
    47  ├──  ID: c93cbcd6437e Size: 3.573MB
    48  ├──  ID: dece674f3cd1 Size: 4.608kB
    49  ├──  ID: 834f4497afda Size: 7.168kB
    50  ├──  ID: bfe2ce1263f8 Size: 40.06MB
    51  └──  ID: 748e99b214cf Size: 11.78kB Top Layer of: [docker.io/library/wordpress:latest]
    52  ```
    53  
    54  Show all child images and layers of the specified image:
    55  ```
    56  $ podman image tree ae96a4ad4f3f --whatrequires
    57  Image ID: ae96a4ad4f3f
    58  Tags:    [docker.io/library/ruby:latest]
    59  Size:    894.2MB
    60  Image Layers
    61  └──  ID: 9c92106221c7 Size:  2.56kB Top Layer of: [docker.io/library/ruby:latest]
    62   ├──  ID: 1b90f2b80ba0 Size: 3.584kB
    63   │   ├──  ID: 42b7d43ae61c Size: 169.5MB
    64   │   ├──  ID: 26dc8ba99ec3 Size: 2.048kB
    65   │   ├──  ID: b4f822db8d95 Size: 3.957MB
    66   │   ├──  ID: 044e9616ef8a Size: 164.7MB
    67   │   ├──  ID: bf94b940200d Size: 11.75MB
    68   │   ├──  ID: 4938e71bfb3b Size: 8.532MB
    69   │   └──  ID: f513034bf553 Size: 1.141MB
    70   ├──  ID: 1e55901c3ea9 Size: 3.584kB
    71   ├──  ID: b62835a63f51 Size: 169.5MB
    72   ├──  ID: 9f4e8857f3fd Size: 2.048kB
    73   ├──  ID: c3b392020e8f Size: 3.957MB
    74   ├──  ID: 880163026a0a Size: 164.8MB
    75   ├──  ID: 8c78b2b14643 Size: 11.75MB
    76   ├──  ID: 830370cfa182 Size: 8.532MB
    77   └──  ID: 567fd7b7bd38 Size: 1.141MB Top Layer of: [docker.io/circleci/ruby:latest]
    78  
    79  ```
    80  
    81  
    82  ## SEE ALSO
    83  **[podman(1)](podman.1.md)**
    84  
    85  ## HISTORY
    86  Feb 2019, Originally compiled by Kunal Kushwaha `<kushwaha_kunal_v7@lab.ntt.co.jp>`