Specify port, container directly on physical network


Ademar

Recommended Posts

I'm running Docker containers on a seperate VLAN, meaning each container has their own IP. I want to run all containers on port 80, so they can be easily reached by local DNS. For example backup.lan would be my Duplicati container. This works if the container is using port 80 internally, but many containers run web server on a non-standard port, for example:

 

linuxserver/duplicati:8200

linuxserver/qbittorrent:8080

huginn/huginn:3000

 

and the list goes on. Changing the port mapping in the unRAID UI does nothing, as the container is not on a virtual network, and there is no port mapping/NAT between my local network and the container. Is there any way to get around this without changing the image in the build process? (I know this is an edge case, my network is unnecessary complicated).

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.