title: Map Spring Boot port to 80 in docker container
body: <p>I am specifying <code>PORT 80</code> in Spring boot <code>application.properties</code> like this
  <code>server.port=80</code>
  So when running on localhost, this runs on port 80</p>
  
  <p>Now I need to run it in a docker container and I did some hit and trial on the port mapping.</p>
  
  <pre><code>docker run -d -p 80:8080 DOCKERHUB_REPO/DOCKER_IMAGE
  </code></pre>
  
  <p>Then I did</p>
  
  <pre><code>docker run -d -p 80:80 DOCKERHUB_REPO/DOCKER_IMAGE
  </code></pre>
  
  <p>None of these worked. How should I proceed? Any help would be highly appreciated. Thanks</p>