Search code examples
dockerwildflydocker-for-macdocker-desktop

Docker :: How to see the packaging inside an image made from Docker for Mac?


I created an image wildfly using Docker Desktop for Mac. Then I tried to run it, however, there seems to be some deployment error when the image is run. In order to check if the docker file packaged the image properly or not, I would like to debug it by checking its content.

Is there a way to see the contents inside an image made from Docker Desktop for Mac?


Solution

  • Rather than looking at the image, it would probably be easier to start the image from a shell and introspect it via that.

    docker run -it wildfily /bin/sh