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.

help required! Building a template - icons missing

Featured Replies

I have built a template for Nodered and everything is working well.

I have setup DockerHub and Github but I have the following issues:

 

1) the Template shows in the list as

[nodered]

  nodered

 

and I would like it to shown as

[spants]

  nodered

 

- where is the title of the repo defined?.

 

2) The icons do not work:

In the template I defined:

  <Banner>http://i.imgur.com/zXpacAF.png</Banner>

  <Icon>http://i.imgur.com/zXpacAF.png</Icon>

 

but these do not download... This is shown as a missing picture with url http://192.168.1.22/state/plugins/dynamix.docker.manager/images/spants-nodered-latest-icon.png

 

Any ideas?

Tony

 

my unfinished template :

<?xml version="1.0" encoding="utf-8"?>
<Container>
  <Name>NodeRed</Name>
  <Description>
    NodeRed description here.[br][br]
    NodeRed will run on port 1880.[br][br]
    [b][span style='color: #E80000;']Directions:[/span][/b][br]
    [b]/data[/b] : in this path, Node Red will store it's configuration files.
  </Description>
  <Registry>https://registry.hub.docker.com/u/spants/nodered/</Registry>
  <GitHub>https://github.com/spants/unraidtemplates</GitHub>
  <Repository>spants/nodered</Repository>
  <BindTime>true</BindTime>
  <Privileged>false</Privileged>
  <Environment/>
  <Networking>
    <Mode>bridge</Mode>
    <Publish>
      <Port>
        <HostPort>1880</HostPort>
        <ContainerPort>1880</ContainerPort>
        <Protocol>tcp</Protocol>
      </Port>
    </Publish>
  </Networking>
  <Data>
    <Volume>
      <HostDir>/mnt/disk9/docker/appdata/nodered</HostDir>
      <ContainerDir>/data</ContainerDir>
      <Mode>rw</Mode>
    </Volume>
  </Data>
  <WebUI>http://[iP]:[PORT:1880]</WebUI>
  <Banner>http://i.imgur.com/zXpacAF.png</Banner>
  <Icon>http://i.imgur.com/zXpacAF.png</Icon>
</Container>

Is the repo name derived from the github location?

 

I'll have a look later when I'm at my desktop.

 

In the meantime check out chbmb on github as that structure is working

 

I can take no credit for it I used smdion's as I wanted to modify one of his docker containers for personal use.

1) the Template shows in the list as

[nodered]

  nodered

 

and I would like it to shown as

[spants]

  nodered

 

- where is the title of the repo defined?.

 

I will check to be sure, but I'm pretty sure the repo title is based on the name of the folder in which XML template resides in your repo. So in my repo (https://github.com/Zuhkov/docker-containers/tree/templates), my XML templates are in a directory called zuhkov which shows up in Docker manager as [ zuhkov ].

  • Author

Thanks - the repo name is the directory!

 

Just need to sort out the icons not showing now...

There's a closing environment without an opening if you know what I mean

 

<Environment/>

 

Still looking through the rest...

Try this, I'm a noob at this sort of stuff so no guarantee

 

<?xml version="1.0" encoding="utf-8"?>
<Container>
  <Name>NodeRed</Name>
  <Description>
    NodeRed description here.[br][br]
    NodeRed will run on port 1880.[br][br]
    [b][span style='color: #E80000;']Directions:[/span][/b][br]
    [b]/data[/b] : in this path, Node Red will store it's configuration files.
  </Description>
  <Registry>https://registry.hub.docker.com/u/spants/nodered/</Registry>
  <Repository>spants/nodered</Repository>
  <BindTime>true</BindTime>
  <Privileged>false</Privileged>
  <Networking>
    <Mode>bridge</Mode>
    <Publish>
      <Port>
        <HostPort>1880</HostPort>
        <ContainerPort>1880</ContainerPort>
        <Protocol>tcp</Protocol>
      </Port>
    </Publish>
  </Networking>
  <Environment>
    <Variable>
      <Name></Name>
      <Value></Value>
    </Variable>
  </Environment>
  <Data>
    <Volume>
      <HostDir>/mnt/disk9/docker/appdata/nodered</HostDir>
      <ContainerDir>/data</ContainerDir>
      <Mode>rw</Mode>
    </Volume>
  </Data>
  <WebUI>http://[iP]:[PORT:1880]</WebUI>
  <Banner>http://i.imgur.com/zXpacAF.png</Banner>
  <Icon>http://i.imgur.com/zXpacAF.png</Icon>
</Container>

There's a closing environment without an opening if you know what I mean

 

<Environment/>

 

Still looking through the rest...

Actually, this is valid XML. It is just an empty Environment node.

 

A closing would be </Environment>

There's a closing environment without an opening if you know what I mean

 

<Environment/>

 

Still looking through the rest...

Actually, this is valid XML. It is just an empty Environment node.

 

A closing would be </Environment>

 

Just trying to compare it with mine that works, oops

 

Can you see what the issue is trurl?  I've tried the links and they load up in my browser.

 

Wasn't sure what else to try..

I had a similar problem and I think the developer of the DUC container did too. I think it is caching the images somewhere and you have to get it to reload them. I don't really know how or if that is really even what is happening. I'm pretty sure I tried a browser refresh and it didn't help, but after a reboot there they were. Maybe stopping and restarting docker itself (not the container but the whole docker system).

make a repo called whatever (it really doesn't matter)

 

then inside that repo, type in whatever you want your repo to appear as in the docker webui followed by / then the filename

 

like so

 

pWshCIe.png

 

in that example the repo will appear as test repo

what you're doing essentialy is making a folder when you type /

 

and you use the resulting folder as the repo address that you give to people to put in their unraid's.

  • Author

Thanks - I have the repo name sorted out now. It is the name of the directory.

 

Not sure of the icon not showing as they dont download for me.

Anyone want to try my template? It installs NodeRed (nodered.org) on port 1880. Map /data to your where the flows will be saved.

 

I will tidy it up after the cup final (come on Chelsea!) by adding some extra modules and description.

 

https://github.com/spants/unraidtemplates/

  • Author

woohoo! Thanks!

 

BTW, what triggers the update available message for a docker in unraid?. Is it the docker push to docker hub or do I change something on the xml/github?

 

thanks

Tony

woohoo! Thanks!

 

BTW, what triggers the update available message for a docker in unraid?. Is it the docker push to docker hub or do I change something on the xml/github?

 

thanks

Tony

 

when a new build is completed on docker hub.

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.