Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow exposing port range like Docker/Docker-compose #3329

Open
mvh77 opened this issue Mar 14, 2018 · 1 comment
Open

Allow exposing port range like Docker/Docker-compose #3329

mvh77 opened this issue Mar 14, 2018 · 1 comment

Comments

@mvh77
Copy link

mvh77 commented Mar 14, 2018

Hi,

Docker & docker-compose allow exposing port ranges with syntax 9000-9500:9000-9500/udp. Kontena doesn't seem to support this as the parser fails for this syntax. I have a case where I need to expose potentially hundreds of RTP ports out of a PBX system towards an ITSP SIP trunk.

Thanks!

@SpComb
Copy link
Contributor

SpComb commented Mar 14, 2018

You can consider using network_mode: host instead of published ports, if you're okay with exposing any and all ports that the service listens on, and only running one of those externally exposed service instances per node.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants