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.

Custom Docker icons are not displayed.

Featured Replies

I have containers running with the label net.unraid.docker.icon: "/location/on/my/disks"
Before Unraid update 7.3.2 the icons were displayed and we lived in a happy world.

Now, my custom icons are ignored and they all have the question.png default one.

Am I missing a breaking change or is it a regression ? Maybe a feature ?

To be 100% transparent, I'm using FolderView3, maybe it does something in the process, not sure.

Edited by zaggash

Solved by JorgeB

  • Community Expert
  • Solution

You are supposed to use a URL, not a local path, but see the release thread, there are some workarounds posted there

I am not having any luck with local, file://, or https:// urls with 7.3.2.

I use homepage as my home dashboard and the same URLs that work for homepage do not work when I use them for the unraid label. when I inspect the dashboard page on unraid, it looks like it is not even attempting to load the icon I specified by the label. it has the src and onerror both set to question.png.

Update:

Ok, it looks like a reboot of unraid fixed it.

Edited by korey_sed

  • 2 weeks later...
  • Author

Unfortunalty it didn't work.
I tried both file:/// and https:// on GitHub image icon link, none is working.

Tried on both Brave and Edge. Normal and private navigation.

  • 2 weeks later...

The following worked for me:

(1) All local paths need "file://" at the beginning, e.g., "file:///mnt/user/xxx.png". Note the three slashes.

(2) Delete all files from "/var/lib/docker/unraid/images/" and "/var/local/emhttp/plugins/dynamix.docker.manager/images/"

(3) Delete the file "/var/local/emhttp/plugins/dynamix.docker.manager/docker.json"

(4) Reload the Docker UI page. After that, all the icons were back.

  • 1 month later...

I ran into this with a new custom Docker container and was able to fix it without deleting all Docker icon caches or docker.json.

In my case, Unraid had two cached copies of the container icon:

/var/lib/docker/unraid/images/CONTAINER-NAME-icon.png
/var/local/emhttp/plugins/dynamix.docker.manager/images/CONTAINER-NAME-icon.png

The first copy had been updated correctly, but the second was still the old/bad cached file. The Docker UI was actually serving the second copy.

You can confirm which file the UI is referencing with:

grep -i -C 3 'CONTAINER-NAME' \
/var/local/emhttp/plugins/dynamix.docker.manager/docker.json

Mine showed:

"icon": "/state/plugins/dynamix.docker.manager/images/CONTAINER-NAME-icon.png"

I then compared the two cached files:

ls -lh /var/lib/docker/unraid/images/CONTAINER-NAME-icon.png
ls -lh /var/local/emhttp/plugins/dynamix.docker.manager/images/CONTAINER-NAME-icon.png

file /var/lib/docker/unraid/images/CONTAINER-NAME-icon.png
file /var/local/emhttp/plugins/dynamix.docker.manager/images/CONTAINER-NAME-icon.png

In my case, the /var/local/... copy was stale even though the /var/lib/... copy was a valid PNG.

Rather than clearing every container's icons, I fixed only the affected container:

rm /var/local/emhttp/plugins/dynamix.docker.manager/images/CONTAINER-NAME-icon.png

cp /var/lib/docker/unraid/images/CONTAINER-NAME-icon.png \
/var/local/emhttp/plugins/dynamix.docker.manager/images/CONTAINER-NAME-icon.png

After refreshing the Docker page, the icon immediately appeared.

If the /var/lib/... copy is also wrong, download/copy the desired PNG there first, then copy that file to /var/local/....

So before using the more aggressive workaround of clearing all icons and removing docker.json, I'd recommend checking these two cache locations first. You may be able to repair just the affected container and leave every other Docker icon/cache entry alone.

This also seems useful diagnostically: if changing the Icon URL in the template doesn't change what you see in the UI, check the /var/local/emhttp/plugins/dynamix.docker.manager/images/ copy. In my case, that was the piece that wasn't being refreshed.

  • 1 month later...
  1. In Compose Manager → Edit Stack → UI Labels, set each Icon field to a file:// path (three slashes):

file:///mnt/user/<share>/<icons-folder>/<icon>.png

Save, then run Compose Up (or Update Stack).

  1. Clear both icon caches:

find /var/lib/docker/unraid/images/ /var/local/emhttp/plugins/dynamix.docker.manager/images/ -type f -delete
  1. Delete Unraid’s icon index:

rm -f /var/local/emhttp/plugins/dynamix.docker.manager/docker.json
  1. Hard-refresh the Docker page (Ctrl+F5).

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.