2 containers, same IP, not host IP


Recommended Posts

I'm trying to set up a generic steam cache container. For it to cache Origin it needs the SNI Proxy container running on the same IP so traffic is forwarded correctly. This uses port 443 so I cant run it on the host IP as unRAID uses port 443 and I don't want to disable this. So is there a way I can get 2 containers running on the same IP that is different to the host IP?

Link to comment
  • 1 year later...
  • 4 weeks later...

Would it work to assign both containers to the same docker network and specify the IP of the SNI Proxy container in a config file or environment variable (ie https://sniproxy)? Otherwise, if you really need the same IP, you would need to make a new Dockerfile to combine the two containers into one

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.