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 GUI page loads slowly, curl command trying to download icon for image

Featured Replies

unRAID OS Version:

6.2 RC3, 6.1.9

Description:

The docker page in the unRAID GUI loads very slow, when I do a ps I can see that it is trying to download the ICON for a container I recently added. I believe the issue is happening because my container repository has an extra colon.

 

How to reproduce:

Create a docker container with repository openhab/openhab:amd64-online, and try and load the docker GUI page. You should then see two curls with PS that end up timing out and then the page loads. I believe it is because it's trying to create the icon with a colon in the name.

 

root    31002 30977  0 15:12 ?        00:00:00 sh -c curl --max-time 60 --silent --insecure --location --fail  -o '/boot/config/plugins/dockerMan/images/--icon.png' 'http://srv0.local/state/plugins/dynamix.docker.manager/images/larizzo-openhab-perl-latest-icon.png''>http://srv0.local/state/plugins/dynamix.docker.manager/images/larizzo-openhab-perl-latest-icon.png' 2>/dev/null

root    31003 31002  0 15:12 ?        00:00:00 curl --max-time 60 --silent --insecure --location --fail -o /boot/config/plugins/dockerMan/images/--icon.png http://srv0.local/state/plugins/dynamix.docker.manager/images/larizzo-openhab-perl-latest-icon.png

 

Expected results:

Docker gui page loads fast.

 

Actual results:

Docker gui pages loads slowly (60 seconds) same as the curl timeout.

Docker container has no icon in the gui when it does finally load.

 

Other information:

TBH, I've never quite understood why dockerMan even bothers to download and cache the icons.  Why not just pass the appropriate URL to the browser and let it handle it (like its designed to).  Also avoids problems on slow connections / huge images where curl times out (but your browser will succeed albeit slowly)

  • 1 month later...

Is this still a problem?  Is this an issue with unRAID, or something that's been fixed in Community Apps?

Is this still a problem?  Is this an issue with unRAID, or something that's been fixed in Community Apps?

CA and dockerMan display the images differently.  CA passes through the URL for the icon (from the template) to the browser to handle.  dockerMan insists that its better to download and save the image within the docker.img file.  Makes no sense to me.

 

Beyond that, I *think* its been fixed somewhere along the line in 6.2 (at least my one app I'm running using tags shows the icon correctly in dockerMan)

 

I'm trusting Squid's *thinker* and marking it solved.  If anyone discovers otherwise, please let us know.

 

Always nice to hear confirmation from the original poster though!

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.