November 1, 201510 yr My application have a port range which needed to map. However, in Docker container setup -> port mappings, i cannot input port range (e.g. 5000-5100), it prompt "Please enter a number". I know that Docker support port range mapping, is there any way i can setup this in the web GUI ?
November 8, 201510 yr Another option that doesn't use the gui is to use 'pipework' to assign the docker container its own ip. I have a few of my docker containers set up this way so that I can control the traffic priority with my router. I'm sure a plugin could be created for gui control pipework, but I haven't heard of anything nor do I have the skill set to make one my self.
November 8, 20205 yr On 10/31/2015 at 11:40 PM, Squid said: not at the moment Is there any plan to introduce this? From what I understand, the docker run command supports this easily with something like: docker run -p 7000-8000:7000-8000 but it doesn't sound like the docker template in Unraid allows me to do this.
November 9, 20205 yr 4 hours ago, frakman1 said: Is there any plan to introduce this? From what I understand, the docker run command supports this easily with something like: docker run -p 7000-8000:7000-8000 but it doesn't sound like the docker template in Unraid allows me to do this. +1, @Squid, the template supports it just fine AFAIK, but the view on the docker container page is not ideal. It sure would clean up my container page, I have a container that requires about 5 pages of scrolling to get past since each port in the defined range is enumerated individually. The template supports ranges just fine, they just get expanded and fill several pages on the docker advanced view. <Port> <HostPort>5000-5150</HostPort> <ContainerPort>5000-5150</ContainerPort> <Protocol>tcp</Protocol> </Port> <Port> <HostPort>5000-5150</HostPort> <ContainerPort>5000-5150</ContainerPort> <Protocol>udp</Protocol> </Port> etc... etc...
November 9, 20205 yr Actually, what's going on is that the chevron doesn't appear in advanced view...
November 9, 20205 yr 6 hours ago, Squid said: Actually, what's going on is that the chevron doesn't appear in advanced view... 8 hours ago, jonathanm said: they just get expanded and fill several pages on the docker advanced view. Yep, that's what I'm complaining about, but my ideal solution isn't to add the collapsing function, instead just show the range as entered, X-Z/TCP
November 9, 20205 yr 2 hours ago, jonathanm said: Yep, that's what I'm complaining about, but my ideal solution isn't to add the collapsing function, instead just show the range as entered, X-Z/TCP I did a PR to have them collapsed. Maybe in the future I'll swing around and re-look at it to show the range instead.
August 10, 20214 yr Old topic Sure but would be great to beable to add in the template that you can do the multiport thing. Also if the docker is on Custom Br:0 so i can give it a own IP. i cant "redirect" ports like when its on bridge.
August 11, 20214 yr On 8/10/2021 at 9:30 AM, KoNeko said: Sure but would be great to beable to add in the template that you can do the multiport thing. As the post says you can do this no problems in the template. On 8/10/2021 at 9:30 AM, KoNeko said: Also if the docker is on Custom Br:0 so i can give it a own IP. i cant "redirect" ports like when its on bridge. You can if you create your own custom bridge network via applicable commands.
August 11, 20214 yr 56 minutes ago, Squid said: As the post says you can do this no problems in the template. When i edit a template and i add a port i see this when i have it on anything else than bridge. When i put it on bridge i see containerport and Host port.
August 13, 20214 yr On 8/12/2021 at 9:22 AM, Squid said: Yes. Container Port say 20000-20010 Host Port say 30000-30010 Yes i know i can do that with the second picture. But in the first one i can only enter a host port.
August 13, 20214 yr Port mappings are completely ignored when in Host or on br0 (because they have no effect)
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.