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.

SOLVED: UnRAID 6.6.7 Possible Docker UI bug with static IP assignment

Featured Replies

TL;DR: "Open web gui" menu option does not link to the correct IP:Port, but can access by typing IP:port manually.

 

Here's the example I'm using so someone might try to duplicate it:

 

My Network info: 

192.168.3.0/24

GW: 192.168.3.1, pfSense 2.4.4-RELEASE-p2 on actual separate hardware

DCHP from pfSense, range 192.168.3.100-199

DNS from pfSense

UnRAID 6.6.7 box  @ 192.168.3.21

 

I have several containers using the standard bridge mode that maps ports from the host IP to the 172.16 private docker subnet. I want some of my containers to have unique IPs on my network.  

I added the OwnCloud container from Owncloud.  I chose network Custom:br0 and set the static IP to 192.168.3.249. I left all the default options in the container. For reference, it SAYS that it will map port 8000 to 80. Then I complete the config and return to the docker menu, and it's running. The docker screen then says its listening on port 80, but the "open web gui" option tries to open on port 8000. 

The Open Web Gui choice results in a "connection refused" error.  If I manually type the address using port 80, it loads the web gui as expected.

 

If I go back into the container config and specify port 80, the "open web gui" option STILL tries to open port 8000.

See attached image.....






 

docker screen.jpg

Edited by 2twisty
clarification

When you edit the container, and switch to advanced view, what is the WEBUI entry?

Sent via telekinesis

  • Author

It says:

 

http://[IP]:[PORT:8000]/

 

So, I assume that I should change this to say:

 

http://[IP]:[PORT:80]/



Still curious that it didn't update it on its own.

It says:
 
http://[iP]:[PORT:8000]/

 
So, I assume that I should change this to say:

 

http://[iP]:[PORT:80]/



Still curious that it didn't update it on its own.

That entry means to go to whatever container port 8000 is mapped to in the host

Sent via telekinesis

  • Author

That doesn't really answer my question. If I change the WebUI entry, will that fix the UI problem I described?  If so, why doesn't it update that automatically when I change the port settings in Basic View?

Because there is no port mapped to 8000 due to you not running in bridge mode, so the system will always go to 8000.

Unraid does not change that entry. It just adjusts for whatever the IP and Port is based upon the entry

Sent via telekinesis

And it's a mistake in the template from @Bungy.  It should have been [PORT:80]

Edited by Squid

  • Author

OK.  I decided to experiment and changed it to PORT:80, and it fixed the problem.

Since I've had similar problems with containers in the past, I guess this is a common problem.  I've been trying to get separate IPs working for a long time, but only just now noticed the mapping issue. 

 

Thanks for the info, and hopefully this post will help someone else.

  • 2twisty changed the title to SOLVED: UnRAID 6.6.7 Possible Docker UI bug with static IP assignment

*mind blown* I had no idea that was how that field worked. that is pretty cool.

Archived

This topic is now archived and is closed to further replies.

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.