Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Display the local Docker image layers as a tree

Project Description

Displays the tree structure of your Docker images.

Meant as a replacement for the removed functionality of docker images -t.

Usage: docktree [-h] [IMAGE]

Positional arguments:
IMAGE show only parents and children of IMAGE
Optional arguments:
-h, --help show this help message and exit
-s, --show-size
 show the virtual size of each layer

Usage example:

(env2)pi@raspberrypi [work/docktree] % docktree
└─ 71a76a74c237
   ├─ 92b43b34adf9 test1:latest
   └─ 2f5ca2d69bf4
      └─ ba37442b01bb
         ├─ 643e1371a625 test2:latest
         │  └─ 7e548b8390f2 test3:latest
         └─ c89a6bc5d884
            └─ baee49e775b3 resin/rpi-raspbian:latest,resin/rpi-raspbian:jessie,resin/rpi-raspbian:jessie-2015-10-21
(env2)pi@raspberrypi [work/docktree] % docktree test2
└─ 71a76a74c237
   └─ 2f5ca2d69bf4
      └─ ba37442b01bb
         └─ 643e1371a625 test2:latest
            └─ 7e548b8390f2 test3:latest

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(5.1 kB) Copy SHA256 Hash SHA256
Wheel py2.py3 May 4, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate