Docker

layerx – terminal-based Docker image layer inspector

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 in action
Click animation for full size

layerx is written in Go. Learn Go with our recommended free books and free tutorials.


Best Free and Open Source Software Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted