Hacker GitHub

← All repos

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

Mentions per year 45 mentions · busiest year 2022 (10)
20082026
  1. 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
  2. A similar tool to this (includes interactive TUI) is https://github.com/wagoodman/dive
  3. 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…
  4. …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
  5. …times and space/speed savings! (for the container image size analysis I used dive, available here https://github.com/wagoodman/dive )
  6. …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…
  7. ncdu dive https://github.com/wagoodman/dive
  8. Cool, gonna try this soon. Would be great to use in combination with Dive ( https://github.com/wagoodman/dive )
  9. …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
  10. …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
  11. …match (though container metadata may not, so a direct image compare would be challenging). [0]: https://github.com/wagoodman/dive
  12. 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.
  13. I very much enjoy dive[1] for this purpose, though it doesn't seem to be maintained anymore... [1] https://github.com/wagoodman/dive
  14. 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
  15. …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
  16. 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
  17. …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
  18. …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
  19. …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.
  20. Your link is busted, https://github.com/wagoodman/dive
    comment by hajhatten · 2022-01-18 · in Containerize Go and SQLite with Docker
  21. 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
  22. 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.
  23. …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
  24. …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
  25. …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
  26. …I will concede that it's very different as a solo developer vs even a small team. [0]: https://github.com/wagoodman/dive
  27. …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
  28. …- 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.
  29. …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
  30. …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