wagoodman/dive
View on GitHub ↗ ★ 54,692 Go
A tool for exploring each layer in a docker image
45 mentions on Hacker News by 42 people: 15 stories, 30 comments · first 2018-10-24 · latest 2026-10-21
20082026
-
Usually by extracting the layers and looking through them. There's dive ( https://github.com/wagoodman/dive ) for making that easier.
comment by a-nych · 2026-10-21 · in PHP 8.2.35 -
A similar tool to this (includes interactive TUI) is https://github.com/wagoodman/dive
comment by Ristovski · 2026-01-02 · in List, inspect and explore OCI container images, their layers and contents -
You're bang on, but you can do things with dive ( https://github.com/wagoodman/dive ) and use chunks of the code in other projects... That's what I've been doing. The license is MIT so it's permissive. But yes, an API would be ideal. I've…
comment by cik · 2025-06-20 · in Show HN: Unregistry – “docker push” directly to servers without a registry -
…to avoid those redundant downloads? A side-by-side comparison of dive's output would be helpful ( https://github.com/wagoodman/dive ). Also can you clarify what you mean by "requiring full rebuilds of all previous steps"?
comment by mubou · 2025-04-11 · in Show HN: Building better base images -
…times and space/speed savings! (for the container image size analysis I used dive, available here https://github.com/wagoodman/dive )
comment by peterldowns · 2024-08-29 · in Show HN: Shed Light on Your Go Binary Bloat with Go Size Analyzer -
…with dive after to visualize whats been added on which command while you're changing the dockerfile https://github.com/wagoodman/dive I'd push back on that being a good idea though. It's okayish, but it'd be better if the software had no…
comment by ffsm8 · 2024-06-30 · in Show HN: I am building an open-source Confluence and Notion alternative -
ncdu dive https://github.com/wagoodman/dive
comment by tonymet · 2024-05-07 · in Ask HN: Interesting TUIs (text user interfaces), maybe forgotten ones? -
Cool, gonna try this soon. Would be great to use in combination with Dive ( https://github.com/wagoodman/dive )
comment by XiS · 2024-04-28 · in Show HN: Docker-phobia: Analyze Docker image size with a treemap -
…it's pretty easy to inspect docker images too, as long as they extend a base image you trust. [1] https://github.com/wagoodman/dive
comment by beeboobaa · 2024-02-03 · in A lesson in dockerizing shell scripts -
…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…
comment by SOLAR_FIELDS · 2024-02-03 · in A lesson in dockerizing shell scripts -
…match (though container metadata may not, so a direct image compare would be challenging). [0]: https://github.com/wagoodman/dive
comment by jeroenhd · 2023-06-17 · in Review of Hetzner ARM64 servers and experience of WebP cloud services on them -
Not necessarily. It is certainly easier to read a dockerfile, but there are tools like https://github.com/wagoodman/dive (im sure there are others) that allow you to inspect images themselves in a very detailed manner.
comment by koili_ · 2023-05-30 · in An open-source alternative to QuickBooks -
I very much enjoy dive[1] for this purpose, though it doesn't seem to be maintained anymore... [1] https://github.com/wagoodman/dive
comment by Timon3 · 2023-05-10 · in Machine Learning Containers Are Bloated and Vulnerable -
Thanks for sharing, very useful blog post (not just the linked section). Reference to https://github.com/wagoodman/dive will help a lot today.
comment by iyn · 2023-01-27 · in Rails on Docker -
…which is focused on the final resulting image size. Dive is a good tool for the latter IME. https://github.com/wagoodman/dive It doesn't do the work for you, but it does single out the big layers in your image.
comment by CameronNemo · 2022-08-03 · in Minify your container -
I use https://github.com/wagoodman/dive for this type of task
comment by levischoen · 2022-05-11 · in Show HN: Layer – Inspect Container Layers -
…that! It has a bunch of useful stuff merged, but it's still missing the export tree view feature ( https://github.com/wagoodman/dive/pull/324 ), which can be handy.
comment by mihaitodor · 2022-04-13 · in New(ish) command line tools -
…a few: - Diffing YAML files: https://github.com/homeport/dyff - Inspecting Docker image layers: https://github.com/wagoodman/dive - Interactive HTTPS proxy: https://mitmproxy.org/
comment by mihaitodor · 2022-04-13 · in New(ish) command line tools -
…with dependencies in order to stick with plain pip and using COPY --chown. I also recommend [dive]( https://github.com/wagoodman/dive ) analyse what contributes to each layer.
comment by riccardomc · 2022-03-26 · in `COPY –chmod` reduced the size of my container image by 35% -
Your link is busted, https://github.com/wagoodman/dive
comment by hajhatten · 2022-01-18 · in Containerize Go and SQLite with Docker -
Use Dive for inspecting the image https://github.com/wagoodman/dive&ved=2ahUKEwips5OH0Lr1AhW97...
comment by oweiler · 2022-01-18 · in Containerize Go and SQLite with Docker -
This app is great for discovering waste https://github.com/wagoodman/dive I've found 100MB fonts and other waste. All the tips are good, but until you actually inspect your images, you won't know why they are so bloated.
comment by tonymet · 2022-01-06 · in Optimizing Docker image size and why it matters -
…for the config files. Docker config files are called <hash>.json, Kaniko uses "sha256:<hash>". [1] https://github.com/wagoodman/dive/issues/318
comment by tikkabhuna · 2021-03-18 · in Reverse Engineering a Docker Image -
…Also to debug my docker builds. You can even run it inside docker (if you expose the docker socket) https://github.com/wagoodman/dive
comment by andix · 2021-03-18 · in Reverse Engineering a Docker Image -
…like dive[0] also have some support for podman[1] but it's not necessarily the usual case. [0]: https://github.com/wagoodman/dive [1]: https://github.com/wagoodman/dive/issues/172
comment by hardwaresofton · 2021-02-13 · in Threat Actors Now Target Docker via Container Escape Features -
…I will concede that it's very different as a solo developer vs even a small team. [0]: https://github.com/wagoodman/dive
comment by andrewzah · 2021-01-31 · in Docker, Django, Traefik, and IntercoolerJS: My go-to stack for building a SaaS -
…otherwise it’s been a very easy migration. [1] https://github.com/GoogleContainerTools/kaniko [2] https://github.com/wagoodman/dive/issues/318
comment by tikkabhuna · 2020-11-20 · in Transitioning from Docker to Podman -
…- Go binary, 5MB https://hub.docker.com/r/yegle/dns-over-https Another trick I use is to use https://github.com/wagoodman/dive to find the deltas between layers and manually remove it in my Dockerfile.
comment by yegle · 2019-12-10 · in Docker-slim: Minify your Docker container image without changing anything -
…a few months back on here and it a cool little tools for seeing how Docker fits layers together: https://github.com/wagoodman/dive
comment by djsumdog · 2019-11-19 · in How Containers Work: Overlayfs -
…couldn't pull the linked image. the mentioned name on the github readme doesnt seem to exist [1] https://github.com/wagoodman/dive
comment by y4mi · 2019-06-05 · in Show HN: Translate English to SQL