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.

Docker Port Mappings

Featured Replies

I have quite a few dockers and run them with a Bridge interface. Most of them are just fine, but recently - and i dont know why - when i add a container and put it on the bridge network, the port mappings just shows blank. The docker is still functioning fine and i can reach it on my assigned IP address, but i do not see the port mappings on the Docker page. 

 

 

image.thumb.png.fe1f1631e9b410a3e64b3e793534da54.png

  • Community Expert
1 hour ago, prytzen said:

I have quite a few dockers and run them with a Bridge interface. Most of them are just fine, but recently - and i dont know why - when i add a container and put it on the bridge network, the port mappings just shows blank. The docker is still functioning fine and i can reach it on my assigned IP address, but i do not see the port mappings on the Docker page. 

 

 

image.thumb.png.fe1f1631e9b410a3e64b3e793534da54.png

 

custom br0 is using ipvlan / macvlan which doen't do docker nat port mappings. if the container has a server and port running that port is open and avilable at that IP.
 

 

  • Community Expert

review:

 

 

  • Author
12 hours ago, bmartino1 said:

 

custom br0 is using ipvlan / macvlan which doen't do docker nat port mappings. if the container has a server and port running that port is open and avilable at that IP.
 

 

Thanks. I believe i understand this portion of it. I have all of my Dockers setup with BR0 so I can keep them exposed on a specific VLAN and they have their own IP address. The port mappings are just 1:1 at that point, so nothing changes. The issue, and maybe I didn't make that clear, was that there is just no information showing up on the page about the IP address or port as my other docker containers do, like below

 

image.thumb.png.50a51423cc6a562cff2c37bba51e8a61.png

  • Community Expert
1 hour ago, prytzen said:

Thanks. I believe i understand this portion of it. I have all of my Dockers setup with BR0 so I can keep them exposed on a specific VLAN and they have their own IP address. The port mappings are just 1:1 at that point, so nothing changes. The issue, and maybe I didn't make that clear, was that there is just no information showing up on the page about the IP address or port as my other docker containers do, like below

 

image.thumb.png.50a51423cc6a562cff2c37bba51e8a61.png

That because this being read from the template. if a template port is added, it will show there same with the mounts at the right.

This is not activity reading or reporting what the docker has mounted nor port accessible as live data...

 

in unraid v7 you will see port set to "all"

 

example:

image.png.11e6ab1433b8493f3d25a587fa8b8142.png

 

while older unraid will see ports reported via the template:

in your case plex:


the template has:

image.png.29c071f0a0f956a4294d1439c07e0565.png

and is displaying as such per the web page code...

 

since its in br0 custom macvlan/ipvlan its actually doing all ports the docker web ui has no other check and way to show current active...

This is why the other br0 docker doesn't show any ports. the template doesn't have a port mapping and wouldn't use it regardless.

 

  • Author

I believe i understand what you are saying. looking at my RustDesk container, it shows that there are Ports defined in the template, but nothing shows up on the Docker page. So I still think something is up and not displaying correctly. I do ultimately need to update to v7 so I can guess I can attempt that and see if the behavior changes at all. 

 

image.thumb.png.17673d32ecc7d375fb2bb675afd1b6d2.png

 

 

image.thumb.png.4f4386bb34ebba080c1795f9c15104b6.png

  • Community Expert

I think if you set your create the docker "rustdesk" orginal as a docker bridge it will show the port ports, then stop and edit it back to custom br0 it might stick due to the webstie generate metadata. Usualy I use docker inspect and other termla commands to confirm and verify.

 

has more to do with issues with the command docker port cli
https://docs.docker.com/reference/cli/docker/container/port/

the emhttp docker web ui page is a bit weird. 

https://github.com/unraid/webgui/blob/master/emhttp/plugins/dynamix.docker.manager/DockerContainers.page

 

its hard to say with the older version of when and what gets read.

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.