Jump to content

Different IP for Docker port network


Recommended Posts

This is more of a docker question than an unRaid question because I assume the answer will be running unsupported commands, but I am fine with that, figure this is still a good place to ask.

 

Is it possible to use an IP address other than the unRaid host address for ports? I have a custom docker network with several dockers. I am starting to run into port conflicts, and while I can just change port numbers, I prefer sticking with the standard port numbers for the service in question. Is there a way (either at the Docker level or Docker Network level) to specify a different IP address to export ports to?

 

In other words, assuming my unRaid is 192.168.1.10, is there a way to do this (where .15 is a virtual IP)?

192.168.1.15:443 -- 172.18.0.3:443

Edited by sphbecker
Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...