Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Dockerman Support Publishing port with IP

Featured Replies

I am not sure if this qualifies as a bug report or an enhancement because this is the first time i am attempting to use this feature. Docker supports publishing a port to a specific interface by specifying the IP address of the interface along with the port in the docker run command (docker run -p 192.168.0.55:9090:8080/tcp). Dockerman allows adding the IP in the port specification of the template and correctly translates it to the docker run command, however the dockerman gui is not fully on board. On the docker page the containers port listing still shows the port mapped to the IP address of the primary host interface. Additionally (and more importantly) if the container has a webui address specified with a template 'https://[IP]:[PORT:8080]' dockerman populates the IP field with the primary host IP address rather than the one specified for the port mapping.

Not a bug, and by design

 

The WebUI entry translates [IP] to the IP address of the container (which in Bridge networking mode means the host IP address), and [PORT:8080] to the host port that container port is mapped to.  Just edit the WebUI entry and manually select the IP address.  (Although I'm not quite sure why you need / want this (and mapping the port to another specific address) in the first place)

  • Author
16 minutes ago, Squid said:

IP address of the container (which in Bridge networking mode means the host IP address), and [PORT:8080] to the host port that container port is mapped to. 

This is not necessarily true. If a host has more than 1 ethernet ports with separate IP addresses for each the docker port publishing syntax can be used to expose a port on a specific ip address. If no IP address is specified in the port mapping then the port is exposed on all interfaces. 

 

In a new setup i am trying i have the 2 ethernet ports with separate IP addresses. eth0 the primary host port on which the unRAID webui is exposed 192.168.0.44. And eth1 192.168.0.55 which the unRAID  webui is not accessible on. Custom bridge networks are setup for each interface. If I spin up a container with a port mapping of 8080:8080 and connect it to either bridge network, the container is accessible from both 192.168.0.44:8080 and 192.168.0.55:8080. If I use a port mapping of 192.168.0.55:8080:8080 then the container is only accessible via 192.168.0.55:8080 and not 192.168.0.44:8080. Additionally specifying 2 containers with 192.168.0.55:8080:8080 and 192.168.0.44:8080:8080 respectively is possible with each being accessible from the specified IP address through the matching ethernet interface.

 

I am not sure if this is a newer docker feature or if it has always been this way but it is definitely in the current version https://docs.docker.com/config/containers/container-networking/

Edited by primeval_god

Just change the WebUI entry.  You're using static IPs anyways.

  • Author

I am aware of that option, though there is still the matter of the display discrepancy in the port listing. Overall this is not a major issue, but I still would like to see it as an improvement to dockerman. 

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.