awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com

Automated Docker Image Optimizers

Ranking updated Jun 30, 2026

For a tool for shrinking container image size, the first results are slimtoolkit/slim (Slim is a container optimization tool that automatically reduces Docker image size by removing unnecessary files, flattening layers, and analyzing dependencies, matching your need for automated image size reduction), docker-slim/docker-slim (Docker Slim is a dedicated image-minifier that uses dynamic analysis to automatically strip unused files and dependencies, making it the exact kind of tool you are looking for, with added security profiling and registry integration) and google/go-containerregistry (go-containerregistry provides Go libraries for querying and manipulating container image registries, but it does not analyze images or strip dependencies to reduce size, so it is a supporting component rather than a Docker image size optimizer itself). wagoodman/dive and coreos/clair round out the shortlist. Compare the match explanations and check the project documentation against your requirements.

Tools that automatically analyze and reduce container image size by removing unnecessary files and dependencies.

Automated Docker Image Optimizers

Find the best repos with AI.We'll search the best matching repositories with AI.
  • slimtoolkit/slimslimtoolkit avatar

    slimtoolkit/slim

    22,977View on GitHub↗

    Slim is a comprehensive suite for container lifecycle management, providing tools for image inspection, optimization, security hardening, and service troubleshooting. It functions as a platform for analyzing containerized applications through both static metadata review and dynamic behavioral probing, enabling users to understand image composition and runtime dependencies. The project distinguishes itself by automating the creation of minimal, production-ready container images. It achieves this by removing unnecessary files and components, flattening image layers, and synthesizing restrictive

    Slim is a container optimization tool that automatically reduces Docker image size by removing unnecessary files, flattening layers, and analyzing dependencies, matching your need for automated image size reduction.

    GoLayer Flatteners
    View on GitHub↗22,977
  • docker-slim/docker-slimdocker-slim avatar

    docker-slim/docker-slim

    23,311View on GitHub↗

    This project is a suite of specialized tools for linting, minifying, analyzing, and managing container images and their associated registries. It provides a set of utilities including an image minifier to reduce image size, a security profiler to harden running containers, an image analyzer for static inspection, and a registry manager for organizing multi-architecture indices. The toolset distinguishes itself through behavior-based optimization and security. It uses dynamic analysis to track executed instructions and file access to remove unused binary data, and records kernel interactions t

    Docker Slim is a dedicated image-minifier that uses dynamic analysis to automatically strip unused files and dependencies, making it the exact kind of tool you are looking for, with added security profiling and registry integration.

    GoImage Layer Analyzers
    View on GitHub↗23,311
  • google/go-containerregistrygoogle avatar

    google/go-containerregistry

    3,747View on GitHub↗

    go-containerregistry is a Go library and toolkit for interacting with OCI and Docker registries. It provides a programmatic implementation of the Open Container Initiative distribution specification to fetch, upload, and manage container images, manifests, and layers. The library functions as a container image manipulation tool and a multi-platform image index manager. It enables the resolution and management of manifest lists that target various hardware architectures and operating systems without requiring a local daemon. The toolkit covers a broad range of registry interactions, including

    go-containerregistry provides Go libraries for querying and manipulating container image registries, but it does not analyze images or strip dependencies to reduce size, so it is a supporting component rather than a Docker image size optimizer itself.

    GoContainer Registry IntegrationsOCI Container Registry Clients
    View on GitHub↗3,747
  • wagoodman/divewagoodman avatar

    wagoodman/dive

    54,242View on GitHub↗

    Dive is a command-line tool designed for the analysis and optimization of container images. It functions as a layered storage inspector, allowing users to decompose image manifests to examine individual filesystem layers and identify opportunities to reduce total image size. The tool features a filesystem diffing engine that calculates net changes between sequential layers to highlight redundant data and storage inefficiencies. Users interact with this data through a terminal-based dashboard that provides keyboard-driven navigation of complex file structures and layer metadata. By abstracting

    Dive is an interactive layer inspector that helps you find wasted space in Docker images, but it does not automatically strip dependencies or reduce image size—it requires manual intervention based on its analysis.

    GoFilesystem Diffing EnginesImage Layer Analyzers
    View on GitHub↗54,242
  • coreos/claircoreos avatar

    coreos/clair

    11,011View on GitHub↗

    Clair is a container vulnerability scanner that performs static analysis of container images to identify known security vulnerabilities. It functions as an analyzer for OCI and Docker images, indexing their contents to detect security risks and outdated packages without requiring the containers to be running. The tool identifies vulnerabilities by matching indexed container components against security databases to find common vulnerabilities and exposures. This process involves analyzing filesystem layers to track the provenance and versioning of packages across the image hierarchy. The proj

    Clair is a container vulnerability scanner that identifies security issues in images, not a tool that reduces image size by stripping unnecessary files and dependencies, so it is in the wrong category for this search.

    GoVulnerability ScanningImage Layer Analyzers
    View on GitHub↗11,011
  • nilsirl/dockercNilsIrl avatar

    NilsIrl/dockerc

    4,909View on GitHub↗

    dockerc is a container image compiler that converts OCI-compliant images into standalone executable binaries. It functions as a containerless application distributor, enabling the deployment of containerized workloads as single files that run without requiring a container runtime on the host system. The system achieves zero-dependency distribution by flattening container image layers and embedding the root filesystem as a data blob within the resulting static binary. It uses a shim-based process execution model to simulate the container environment and provides a mechanism to expose internal

    dockerc converts container images into standalone binaries rather than reducing Docker image size by stripping unnecessary files, so it serves a different purpose than the image optimizer you are looking for.

    ZigLayer Flatteners
    View on GitHub↗4,909
  • containers/skopeocontainers avatar

    containers/skopeo

    10,982View on GitHub↗

    Skopeo is an OCI container image manager and registry client designed for inspecting, copying, and signing container images across different registries and storage backends. It enables the manipulation of container images using direct API calls to registries, operating independently of a local container daemon or runtime. The tool provides specialized capabilities for container image mirroring and synchronization, specifically supporting the mirroring of external repositories to internal registries for air-gapped environments. It also functions as a container image signing tool, allowing for

    Skopeo manages container images and registries (inspecting, copying, signing) but does nothing to automatically reduce image size by removing unnecessary files or dependencies—it is a different kind of container tool.

    GoImage InspectionRegistry API Integrations
    View on GitHub↗10,982
  • armosec/kubescapearmosec avatar

    armosec/kubescape

    11,482View on GitHub↗

    Kubescape is a security platform for Kubernetes that provides tools for scanning clusters, configurations, and container images against industry compliance and security benchmarks. It functions as a suite of security utilities, including a compliance auditor, a misconfiguration scanner, and a container vulnerability scanner. The project differentiates itself through automated remediation and active enforcement. It can automatically patch operating system vulnerabilities in images and fix security errors within manifest files. It also utilizes an admission controller to block the deployment of

    Kubescape is a Kubernetes security platform that scans and patches container images for vulnerabilities, not a tool for automatically reducing Docker image size by stripping unnecessary files and dependencies.

    GoVulnerability Scanning
    View on GitHub↗11,482
  • googlecontainertools/kanikoGoogleContainerTools avatar

    GoogleContainerTools/kaniko

    15,776View on GitHub↗

    Kaniko is an OCI container image builder that executes Dockerfiles in userspace without requiring a privileged daemon. It is designed as a Kubernetes-native image builder, allowing for the construction and pushing of images to registries from within a cluster or container. The tool ensures reproducible build generation by stripping timestamps from image layers, guaranteeing that identical source inputs produce the same image identifier. It supports multi-architecture image building, allowing for the creation of images compatible with various hardware and operating systems from a single proces

    Kaniko builds container images from Dockerfiles without a daemon, but its focus is reproducible builds and multi-architecture support, not the automatic size reduction, dependency stripping, or security scanning this search requires.

    GoOCI Registry Authenticators
    View on GitHub↗15,776
  • gliderlabs/docker-alpinegliderlabs avatar

    gliderlabs/docker-alpine

    5,703View on GitHub↗

    This repository provides a Docker base image built on Alpine Linux, designed to produce containers under 5 MB. It is a minimal Linux container image that uses the apk package manager for installing software from the Alpine Linux repository. The image is constructed with a musl-based C library and a BusyBox-based userland, replacing GNU coreutils with a single compact binary. It structures the filesystem as a single root filesystem layer to minimize storage and transfer overhead, and is compatible with multi-stage Docker builds to keep final images lean. The project covers building smaller an

    This is a minimal Alpine Linux base image designed to be small, not a standalone tool that automatically analyzes and optimizes arbitrary Docker images by stripping unused files and dependencies.

    ShellMulti-Stage Container Builds
    View on GitHub↗5,703
  • genuinetools/imggenuinetools avatar

    genuinetools/img

    3,987View on GitHub↗

    img is a collection of toolsets for building, managing, and manipulating OCI compliant container images. It functions as an image build tool and registry client, providing the capabilities to create images from configuration files, push and pull images to remote registries, and extract image layers into root filesystems or archives. The project distinguishes itself through support for multi-platform builds using hardware emulators and the ability to perform unprivileged container builds via namespace-based process isolation and user ID mapping. It also includes a cross-platform binary compile

    This is a container image build and management tool with registry operations, not an optimizer that automatically reduces image size by stripping dependencies—it lacks the core slimming features your search targets.

    GoImage Push-Pull Workflows
    View on GitHub↗3,987
  • johnthagen/min-sized-rustjohnthagen avatar

    johnthagen/min-sized-rust

    9,782View on GitHub↗

    This project is a collection of techniques and configurations for reducing the disk footprint of compiled Rust executables. It serves as a guide and toolset for binary size optimization, providing strategies to minimize the final executable size through compiler flags and configuration. The project focuses on aggressive size reduction strategies, including recompiling the standard library from source to prune unused functions and implementing no-standard-library modes for memory-constrained environments. It details how to eliminate runtime overhead by removing standard library entry points an

    This is a guide and toolset for reducing Rust binary sizes, not an automated Docker image optimizer—it focuses on executable footprint rather than removing unnecessary files and dependencies from container images.

    RustImage Slimming
    View on GitHub↗9,782
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
slimtoolkit/slim23KGoapache-2.0Feb 19, 2026
docker-slim/docker-slim23.3KGoApache-2.0Jun 16, 2026
google/go-containerregistry
3.7K
Go
apache-2.0
Feb 19, 2026
wagoodman/dive54.2KGoMITDec 15, 2025
coreos/clair11KGoApache-2.0Jun 16, 2026
nilsirl/dockerc4.9KZigGPL-3.0Jan 2, 2025
containers/skopeo11KGoApache-2.0Jun 16, 2026
armosec/kubescape11.5KGoApache-2.0Jun 17, 2026
googlecontainertools/kaniko15.8KGoApache-2.0Jun 3, 2025
gliderlabs/docker-alpine5.7KShellBSD-2-ClauseApr 1, 2021

Related searches

  • a Dockerfile linter
  • a tool for inspecting Docker image layers
  • a project for learning containers from first principles
  • a daemonless container image builder
  • a container hardening tool
  • a tool for scanning container image layers
  • a tool for cleaning large files out of git history
  • an open source alternative to Docker