Reputation: 93
I have a web app which creates a docker container on a HTTP request and exposes a port dynamically. This port runs a NodeJS web app running socket.io
, so how can I make this NodeJS web app accessible over my domain name?
Upvotes: 0
Views: 361
Reputation: 115
If you know your ports range you can use this link to allow container expose specific range of ports Check out below sample
docker run --expose=5000-8000
But if you don't know range of ports that your application is running on in my opinion you need to allow all ports expose to your container check this link
Upvotes: 0