

According to the actual browser page, it looks like there is a networking error. What the heck is going on here?!?!? According to the source, the browser should be rendering my Well hello there, from Dockerland! message just fine.
#DOCKER EE FOR MAC CODE#
Picture of my browser (Chrome) pointed to Picture of the source code at Picture of Chrome Developer Tools inspecting the page at Picture of the Network tab in Chrome Developer Tools: I ran a curl, netstat and lsof on the host: HOST:Ĭom.docke 2578 myuser 19u IPv4 0t0 TCP *:wap-wsp (LISTEN)Īnd then docker exec’d into the container and ran another netstat: CONTAINER: To my knowledge, there is no Firewall running on my host that would be blocking ports (I am on Mac 10.11.5 and verified that System Preferences > Security & Privacy > Firewall is turned off). gradlew clean build & java -jar build/libs/bootup.jar. You can see this for yourself by running the app outside of docker (so, just locally on you host machine) by running. The web app is configured to run on port 9200, not the Java default of 8080. But basically:ĭocker ps output: CONTAINER ID IMAGE COMMAND CREATEDĪ8c4ee64a1bc bootup "/bin/sh -c 'java -ja" 2 days ago You can find my SSCCE at this Bootup repo on GitHub, whose README has all the instructions to reproduce what I’m seeing. I am building the app (which packages up into a self-contained jar) and then adding it to the Docker image (which is what I want).

I am experimenting with Docker for the first time, and am trying to get a Spring Boot web app to run inside a Docker container.
