title: Can't reach localhost:8080 while running docker image
body: <p>I have developed a small Java demo web app, using gradle, which I want to dockerize with WildFly. I have followed instructions from <a href="https://hub.docker.com/r/jboss/wildfly/" rel="nofollow noreferrer">here</a>.</p>
  
  <p>The <code>Dockerfile</code> is:</p>
  
  <pre><code>FROM jboss/wildfly
  MAINTAINER Me &lt;me@qmail.com&gt;
  
  RUN /opt/jboss/wildfly/bin/add-user.sh admin Admin#70365 --silent
  
  ADD build/libs/my-demo.war /opt/jboss/wildfly/standalone/deployments/
  </code></pre>
  
  <p>When I start the image with Docker and browse <code>localhost:8080</code> or <code>localhost:9990</code>, I get a <code>This site can’t be reached</code>.</p>
  
  <p>Yet, my application runs successfully on <code>localhost:8080</code> when I use <code>gradle appRun</code>.</p>
  
  <p>What is missing?</p>
  
  <p>I am under Windows 10 Home Edition. I have tried on another laptop under Ubuntu 16 and face the same issue.  </p>