How to see docker image contents
@lebyy▲ 0 net votes
Problem: I did a docker pull and can list the image that's downloaded. I want to see the contents of this image. Did a search on the net but no straight answer. Fix (from the top answer): If the image contains a shell, you can run an interactive shell container using that image and explore whatever content that image has. If sh is not available, the busybox ash shell might be. For instance: docker run -it image_name sh Or following for images with an entrypoint docker run -it --entrypoint sh…