Skip to content

container image tree command for showing image parentage. #2004

Description

@dev-kvt

It would be useful to have a command like:

container image tree

Instead of showing a flat list of images, it could display parent-child relationships.

Example:

ubuntu:24.04
├── python:3.12
│   ├── my-api
│   └── worker
└── node:22
    └── frontend

When you have many locally built images, container image ls becomes hard to navigate. A tree view would make it much easier to understand which images are based on others and help with cleanup and debugging. It could also optionally show image sizes with a --size flag.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions