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.

[Request] Auto Docker Port Finder

Featured Replies

Hello all, making a plug-in is outside of my current skill set. BUT I have an idea for a fantastic one if someone wants to whip it up.

 

On the docker template page. It would be nice if there was another button next to any 'PORT' field that was like 'AUTO' and it would poll all ports that are currently being use and automatically toss one in there that isn't. Maybe start at 5000 and just auto increment to the first one? Or even if you wanted to do random between 1000 and 9999 or something. I don't think the logic would be hard and I think its a feature that would be be welcomed by all. How many times are we gonna have to ctrl+f a port number to see if you can use it when adding a new container.

You can see which ports are already in use by docker by clicking the Show docker allocations dropdown on the Add/Edit Container page. And of course there is the additional complication of different IPs depending on the Network Type you select for a docker.

You can also click Show Docker Allocations when installing to show the ports currently in use

  • Author
10 minutes ago, neruve said:

Hello all, making a plug-in is outside of my current skill set. BUT I have an idea for a fantastic one if someone wants to whip it up.

 

On the docker template page. It would be nice if there was another button next to any 'PORT' field that was like 'AUTO' and it would poll all ports that are currently being use and automatically toss one in there that isn't. Maybe start at 5000 and just auto increment to the first one? Or even if you wanted to do random between 1000 and 9999 or something. I don't think the logic would be hard and I think its a feature that would be be welcomed by all. How many times are we gonna have to ctrl+f a port number to see if you can use it when adding a new container.

  

Something similar to this -

 

image.png.8a8772c069b313259c9ca67801573279.png

  • Author
6 minutes ago, Squid said:

You can also click Show Docker Allocations when installing to show the ports currently in use

 

That is correct. That's how I currently do it. When you have 20 containers, and are using 50 ports, the easiest way right now is to expand show allocations and then ctrl+f the port you wanna use and see how many times it finds it on the page. It was just something that may be relatively simple. I would try to do it myself but there really isn't any documentation as to how to create plugins for unraid or anything.

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.