Quantcast
Channel: Active questions tagged dockerfile - DevOps Stack Exchange
Viewing all articles
Browse latest Browse all 136

How to change container's port to another one without reconfiguring the service inside of it and without mapping it to a port on the host machine?

$
0
0

I'm running a local DNS that automatically creates entries for docker images from their name. I want to be able to type "jira.test" in my browser address bar and have the web interface be displayed. But there are some containers exposing webservers on non-standard ports (like 8080, or 9000) and Firefox doesn't like it.

I don't really want to try and configure each application on these containers and I would prefer if there was a flag or something that would make the containers map their non-standard ports to port 80 (it would be great if the new 80 port would work in addition to the previous non-standard port).

Is that possible?


Viewing all articles
Browse latest Browse all 136

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>