layerx is a terminal-based Docker image layer inspector that helps developers understand what’s inside container images.
It shows which layer added each file, highlights wasted bytes, and makes it easier to review the filesystem impact of Dockerfile changes before they reach production. The tool can inspect image references via Docker or Podman, read saved image archives without a daemon, compare builds, and export analysis data for scripts and CI pipelines.
This is free and open source software.
Key Features
- Interactive terminal interface for exploring image layers, file trees, diffs, and file contents.
- Shows the Dockerfile command, size, digest, efficiency score, and wasted bytes for image layers.
- Supports Docker image references as well as local docker-save and OCI archive files.
- Provides CI checks for image efficiency, wasted bytes, and user-wasted percentage thresholds.
- Includes image comparison and JSON export for automation, dashboards, and scripted analysis.
Website: github.com/deveshctl/layerx
Support:
Developer: Devesh Pharswan
License: MIT License

layerx is written in Go. Learn Go with our recommended free books and free tutorials.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.