Live data from Hacker News

Dive: A tool for exploring a Docker image, layer contents and more

github.com

1–10 of 62 posts

Re: Dive: A tool for exploring a Docker image, layer contents and more

#2
I found dive super useful for understanding how docker images work, and how to write efficient dockerfiles. Reading the docs is one thing, but making a change to the dockerfile and then seeing how it has affected the resulting layer structure is what really made me get it.

Re: Dive: A tool for exploring a Docker image, layer contents and more

#5
Dive is great. Tools like that are critical for both learning and developing confidence on what you are precisely building/shipping.

Dredge is another tool to look at. I use it for diffing layers.

https://github.com/mthalman/dredge/blob/main/docs/commands/i...

Re: Dive: A tool for exploring a Docker image, layer contents and more

#6
I love dive and its something that I use in my tool kit multiple times a month.

I am curious if anyone knows how to get the contents of the file you have highlighted, a lot of the times I use dive to validate that a file exists in a layer and then I want to peak at it. Currently I normally revert to running the container and using cat or extracting the contents and then wandering into the folders.

Post reply on HN