Dive: A tool for exploring a Docker image, layer contents and more
1–10 of 62 posts
Re: Dive: A tool for exploring a Docker image, layer contents and more
#2I 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
#3this helped me debug a docker thing recently, very handy tool!
Re: Dive: A tool for exploring a Docker image, layer contents and more
#4I used dive when I was trying to cut down on the size of the image. Diffing and seeing what files/directories go into each layer was very useful.
Re: Dive: A tool for exploring a Docker image, layer contents and more
#5Dive 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
#6I 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.
Re: Dive: A tool for exploring a Docker image, layer contents and more
#7Dive is incredible, it saved my butt numerous times and taught me a lot about layers. It's so good that Docker Desktop emulated its functionality.
Re: Dive: A tool for exploring a Docker image, layer contents and more
#8There’s other great TUI terminal tools like dive here [0], lazydocker and dry come to mind.
And some in the docker category as well:
Re: Dive: A tool for exploring a Docker image, layer contents and more
#9Dive is great. It struggles a bit with very very large images but beyond that no real complaints.
Re: Dive: A tool for exploring a Docker image, layer contents and more
#10What exactly is meant by a layer?