dive
A tool for exploring each layer in a docker image (by wagoodman)
Lean and Mean Docker containers
Slim(toolkit): Don't change anything in your container image and minify it by up to 30x (and for compiled languages even more) making it secure too! (free and open source) (by slimtoolkit)
dive | Lean and Mean Docker containers | |
---|---|---|
94 | 41 | |
49,949 | 21,310 | |
1.5% | 2.5% | |
3.4 | 7.6 | |
7 days ago | 1 day ago | |
Go | Go | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dive
Posts with mentions or reviews of dive.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-03-17.
-
Dockerfile Best Practices: The Ultimate Guide to Optimizing Your Container Builds
[Source: Dive on GitHub]
-
Docker Image Optimization: A Comprehensive Guide to Creating Smaller and More Efficient Containers
Learn more on the Dive GitHub page.
-
Buildah, Dive, Skopeo: 3 Container Tools for building images on Kubernetes Cluster, with Gitlab CI
curl -L https://github.com/wagoodman/dive/releases/download/v0.9.2/dive_0.9.2_linux_amd64.tar.gz -o dive.tar.gz tar -xvf dive.tar.gz
-
Show HN: Docker-phobia: Analyze Docker image size with a treemap
Cool, gonna try this soon. Would be great to use in combination with Dive (https://github.com/wagoodman/dive)
-
Mastering Docker Image Optimization: 6 Key Strategies for building Lighter, Faster, and Safer images
Dive is an open-source tool that allows you to explore the various layers of a Docker image. It shows you the content of each layer and helps you identify voluminous or unnecessary parts.
- Optimisation des images Docker: 6 Stratégies clés pour des images plus légeres et plus performantes
-
I reduced the size of my Docker image by 40% – Dockerizing shell scripts
Dive is a great tool for debugging this. I like image reduction work just because it gives me a chance to play with Dive: https://github.com/wagoodman/dive
One easy low hanging fruit I see a LOT for ballooning image sizes is people including the kitchen sink SDK/CLI for their cloud provider (like AWS or GCP), when they really only need 1/100 of that. The full versions of both of these tools are several hundred mb each
- Dive: A tool for exploring a Docker image, layer contents and more
- Dive – A tool for exploring each layer in a Docker image
- FLaNK Stack Weekly for 12 September 2023
Lean and Mean Docker containers
Posts with mentions or reviews of Lean and Mean Docker containers.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-07-24.
-
Vendoring, or go mod vendor: What Is It?
Slim (Previously DockerSlim): A handy tool for inspecting, slimming down, and debugging your containers.
- Golang REST API boilerplate
-
Optimize Your Containerized App with SlimToolkit
SlimToolkit empowers developers to create better, smaller, and more secure containers without sacrificing their existing workflows. Explore the project on GitHub or visit the official website to learn more.
-
Is updating software in Docker containers useful?
And if you want to make the container quickly secure without bloats, maybe give this a try https://github.com/slimtoolkit/slim
-
An Overview of Kubernetes Security Projects at KubeCon Europe 2023
Slim.ai presents the data in a more user friendly way than many of the other tools in this post. On top of its open source SlimToolkit for identifying the contents of an image, Slim.ai uses Trivy for vulnerability scanning.
-
Tips for reducing Docker image size
What about https://github.com/slimtoolkit/slim?
-
package a poetry project in a docker container for production
A last practice that I do not use at all and which may interest you is to use slim toolkit to keep only the useful elements in your final image.
-
Standard container sizes
Anyone tried using https://github.com/docker-slim/docker-slim To minify an image?..
- DockerSlim - Optimize Your Containerized App Dev Experience. Better, Smaller, Faster, and More Secure Containers Doing Less! Minify Docker Images by up to 30x.
- A practical approach to structuring Golang applications
What are some alternatives?
When comparing dive and Lean and Mean Docker containers you can also consider the following projects:
lnav - Log file navigator
MeTube - Self-hosted YouTube downloader (web UI for youtube-dl / yt-dlp)
skopeo - Work with remote images registries - retrieving information, images, signing content
Go random string generator - Flexible and customizable random string generator
buildkit - concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit
minideb - A small image based on Debian designed for use in containers