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 FAQ feedback

Featured Replies

Questions for FAQ more for authors:

1). Mapping USB device so Container can use the USB device?  Will unRaid need drivers for the USB device or just the Container?  Pass by bus or what USB shows up in unRAID?  I.e. /dev/ttyUSB1

2). Let a Container see unRAID system stats like CPU %, Bandwidth, ram, disk % etc.

 

Bumping this for knowledgeable authors ...

Didn't see the post until now... I'll answer the device part later when I'm around a computer.

  • Replies 98
  • Views 83.9k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • I recently went through some difficulty with my Plex docker and permission rights for files.  It took a week of back and forth on two sections of the forums before I had the answer.  In the end it was

  • Within apps go to settings and enable reinstall defaults Sent from my NSA monitored device

Posted Images

How to set up a docker using an image from Docker Hub?  :)

 

It would be mighty helpful to me. :)

  • Community Expert

How to set up a docker using an image from Docker Hub?  :)

 

It would be mighty helpful to me. :)

Community Applications has a feature for this.

How to set up a docker using an image from Docker Hub?  :)

 

It would be mighty helpful to me. :)

Community Applications has a feature for this.

 

Thx!

How to set up a docker using an image from Docker Hub?  :)

 

It would be mighty helpful to me. :)

Community Applications has a feature for this.

 

After some exploring it's unclear to me how I could utilize the community applications to access a private docker repository. Is it possible to access the docker command line through the Unraid WebGUI?

How to set up a docker using an image from Docker Hub?  :)

 

It would be mighty helpful to me. :)

Community Applications has a feature for this.

 

After some exploring it's unclear to me how I could utilize the community applications to access a private docker repository. Is it possible to access the docker command line through the Unraid WebGUI?

Turn on docker hub searches within CA settings.  As long as the container is on docker hub it will do it's best to scrape the relevan info and add it after you search for the app.

 

From the command line you would have to issue a docker run command

 

Sent from my LG-D852 using Tapatalk

 

 

  • 1 month later...

What do I do when I see 'layers from manifest don't match image configuration' during a docker app installation?

 

I have a theory as to why this is actually happening, unfortunately I am unable to replicate this issue so I cannot test the theory.

 

As to the solution, you will need to delete your docker.img file and recreate it again.  You can then reinstall your docker apps through Community Application's Previous Apps section or via the my* templates.  Your apps will be back the exact same way as before, with no adjustment of the volume mappings, ports, etc required.

 

this post: https://github.com/docker/distribution/issues/1439#issuecomment-237999672

 

has the fix which worked perfectly for me without having to reinstall everything...

The existing layers may be an important piece of the puzzle. I think what's happening is that one of the existing layers was downloaded by an older version of Docker that did not save tar-split metadata. The migration to content-addressability computed an ID for the layer, but this doesn't match the ID that comes directly from the tar. The migration also prepopulated the mapping between the layer digest and the artifact digest in

/var/lib/docker/image/*/distribution

. Pulling another image that uses the affected layer will try to use this layer digest from the migration, but that digest turns out to be wrong, so the pull fails.

 

If this is correct, deleting

/var/lib/docker/image/*/distribution

should fix your problem pulling maxpowa/npomf:latest. This is just a cache, so it should be safe to remove (removing it will just cause extra data to be transfered during pushes and pulls until the cache is repopulated).

  • 2 weeks later...

I want to run a container from docker hub, how do I interpret the instructions.

 

Using the duplicati container as an example.

 

Basically looking at the instructions:

 

docker run --rm -it \
    -v /root/.config/Duplicati/:/root/.config/Duplicati/ \
    -v /data:/data \
    -e DUPLICATI_PASS=duplicatiPass \
    -e MONO_EXTERNAL_ENCODINGS=UTF-8 \
    -p 8200:8200 \
    intersoftlab/duplicati:canary

 

--rm = remove the container when exits (Not sure we want that) But if you did then you could add it into the extra parameters box

-it = open an interactive pseudoterminal (Not sure why with a webui) But if you did then you could add it into the extra parameters box

-v /root/.config/Duplicati/:/root/.config/Duplicati/ = map a volume host:container therefore I would suggest -v /mnt/cache/appdata/duplicati:/root/.config/Duplicati

-v /data:/data = map a volume host:container therefore I would suggest -v /mnt/user/share:/data

-e DUPLICATI_PASS=duplicatiPass = Set webui password

e MONO_EXTERNAL_ENCODINGS=UTF-8 = Encoding - Leave at UTF-8

-p 8200:8200 = Port mapping container:port

intersoftlab/duplicati:canary = dockerhub repository/image:tag

 

Pasting all that into Unraid:

 

jY0FXvS.png

 

And hey presto...

 

K20cj0B.png

Maybe add another reference link to this post:  http://lime-technology.com/forum/index.php?topic=37732.msg349938#msg349938  which uses a dockerfile as a basis

One problem, lionelhutz post leads with a URL that has now gone 404.

One problem, lionelhutz post leads with a URL that has now gone 404.

Yeah that is a problem...  (the mediabrowser user no longer exists on dockerHub).  I suggested it for CHBMB to post in because I've seen a fair amount of container's that don't have the explicit directions that CHBMB is relying on but do have the dockerfile (if they are automated builds [most are]) which in most cases lists the required ports / volumes

 

Up to you, but what if you take the liberty of changing his original posting and reference this url instead:  https://hub.docker.com/r/jacobalberty/mediabrowser/~/dockerfile/

 

The ports and volumes on that dockerfile match Lionel's example, only the repository doesn't match (which Lionel doesn't show in the dockerfile - only in the unRaid settings.

 

Or we can just leave well enough alone, ditch CHBMB's second post, keep mine which is the automated attempt at parsing the dockerfile.  Kind of an advanced subject anyways where we have to expect the user to have some sort of knowledge of how to read the directions / dockerfile on dockerHub anyways...

Other thing is the link is kind of unnecessary as lionel has put a screenshot of the dockerfile in anyway, which I why I never tested the link.

I've PM'd lionelhutz, notified him of the problem and the suggested URL replacement, told him I'm leaving it up to him.

  • 2 months later...

That makes a lot of sense Squid!!!

 

 

 

Moderator note: this was a response believed to be in reference to this post.  It was moved to this Feedback thread, because we want to keep the FAQ clean, all feedback over here instead.

Regarding this post in the FAQ (I'm getting this error trying to update my Plex docker app, using the linuxserver/plex image):

 

What do I do when I see 'layers from manifest don't match image configuration' during a docker app installation?

 

I have a theory as to why this is actually happening, unfortunately I am unable to replicate this issue so I cannot test the theory. EDIT:  I know whats happening.  The details however aren't important (its caused by the docker API itself, not unRaid)

 

As to the solution, you will need to delete your docker.img file and recreate it again.  You can then reinstall your docker apps through Community Application's Previous Apps section or via the my* templates.  Your apps will be back the exact same way as before, with no adjustment of the volume mappings, ports, etc required.

 

This is a one-time operation.

 

Could we put some more details in about where to find the docker.img file I need to delete, and a quick step by step on how to reinstall it afterward (or at least a link to more detailed instructions)? I am barely managing to remember how to work a unix commandline from back in my uni days, and sometimes it feels like my unRAID server is held together with nothing more than hope. Not sure where to look to find docker.img - I had a quick poke around in /var/lib/docker but couldn't find it.

Regarding this post in the FAQ (I'm getting this error trying to update my Plex docker app, using the linuxserver/plex image):

 

What do I do when I see 'layers from manifest don't match image configuration' during a docker app installation?

 

I have a theory as to why this is actually happening, unfortunately I am unable to replicate this issue so I cannot test the theory. EDIT:  I know whats happening.  The details however aren't important (its caused by the docker API itself, not unRaid)

 

As to the solution, you will need to delete your docker.img file and recreate it again.  You can then reinstall your docker apps through Community Application's Previous Apps section or via the my* templates.  Your apps will be back the exact same way as before, with no adjustment of the volume mappings, ports, etc required.

 

This is a one-time operation.

 

Could we put some more details in about where to find the docker.img file I need to delete, and a quick step by step on how to reinstall it afterward (or at least a link to more detailed instructions)? I am barely managing to remember how to work a unix commandline from back in my uni days, and sometimes it feels like my unRAID server is held together with nothing more than hope. Not sure where to look to find docker.img - I had a quick poke around in /var/lib/docker but couldn't find it.

 

Settings ==> Docker ==> Advanced Toggle

 

The docker.img is wherever you have configured it to be...

Regarding this post in the FAQ (I'm getting this error trying to update my Plex docker app, using the linuxserver/plex image):

 

What do I do when I see 'layers from manifest don't match image configuration' during a docker app installation?

 

I have a theory as to why this is actually happening, unfortunately I am unable to replicate this issue so I cannot test the theory. EDIT:  I know whats happening.  The details however aren't important (its caused by the docker API itself, not unRaid)

 

As to the solution, you will need to delete your docker.img file and recreate it again.  You can then reinstall your docker apps through Community Application's Previous Apps section or via the my* templates.  Your apps will be back the exact same way as before, with no adjustment of the volume mappings, ports, etc required.

 

This is a one-time operation.

 

Could we put some more details in about where to find the docker.img file I need to delete, and a quick step by step on how to reinstall it afterward (or at least a link to more detailed instructions)? I am barely managing to remember how to work a unix commandline from back in my uni days, and sometimes it feels like my unRAID server is held together with nothing more than hope. Not sure where to look to find docker.img - I had a quick poke around in /var/lib/docker but couldn't find it.

 

No need to do any of that. Use the Web UI and the Docker Settings page once Docker is stopped by changing "Docker Enabled" to No and clicking Apply, then checking the "Delete Image File" checkbox.

 

Docker_Delete_Image.PNG.36f2464ebe7d104572eba754f8ae2fab.PNG

Docker_Disable.PNG.93439365e2322be01f0c9ea15d5eda96.PNG

  • 2 weeks later...

Thanks for showing the "Force Update" option, I couldn't get Plex to update but that did the trick  ;D

 

*mod edit* Moved this feedback to the correct thread. The FAQ thread is only for FAQ!

  • 1 month later...

As most know, there was an 'accident' and the Docker FAQ was lost.  It has now been restored.  Because there was considerable handwork involved, there is a chance for errors, bad links, etc.  Please let us know in this thread if you find any problems.

  • 5 months later...

Can you please add the following to the FAQ, I just spent about 36 hours tackling it and no one here had an answer for me...even though the answer was buried in the Linuxserver.io Plex thread.

 

When the appdata share is set to cache-only and the user (or container) sets the appdata path to /mnt/user/appdata instead of /mnt/cache/appdata FUSE freaks out and complains that all SQLite databases are corrupt, no matter what the container is or how many times you recreate the data. This seems to only affect SQLite since all files are written correctly, except that the SQLite databases are empty.

I was going to post this in the defect reports section when I saw that someone had posted a similar issue to what I had experienced, but their issue was because of DirectIO, which I also have enabled. I asked that user to use /mnt/cache instead of /mnt/user and their issues were resolved as well :D 

  • 1 month later...

Hi Squid,

 

this is a great thread. Thanks for all your hard work. I have read through and implemented a Minimserver Docker that I found at Dockerhub: https://hub.docker.com/r/tromatik/docker-minimserver/

 

My /boot/config/plugins/dockerMan/templates-user/my-minimserver.xml looks like so:

<?xml version="1.0"?>
<Container version="2">
  <Name>minimserver</Name>
  <Repository>tromatik/docker-minimserver</Repository>
  <Registry>https://hub.docker.com/r/tromatik/docker-minimserver/~/dockerfile/</Registry>
  <Network>host</Network>
  <Privileged>false</Privileged>
  <Support>https://hub.docker.com/r/tromatik/docker-minimserver/</Support>
  <Overview>MinimServer is a new UPnP AV music server with a number of innovative features...</Overview>
  <Category>Media Servers:</Category>
  <WebUI/>
  <TemplateURL/>
  <Icon/>
  <ExtraParams/>
  <DateInstalled>1506328130</DateInstalled>
  <Description>MinimServer is a new UPnP AV music server with a number of innovative features...</Description>
  <Networking>
    <Mode>host</Mode>
    <Publish>
      <Port>
        <HostPort>9790</HostPort>
        <ContainerPort>9790</ContainerPort>
        <Protocol>tcp</Protocol>
      </Port>
      <Port>
        <HostPort>9791</HostPort>
        <ContainerPort>9791</ContainerPort>
        <Protocol>tcp</Protocol>
      </Port>
    </Publish>
  </Networking>
  <Data>
    <Volume>
      <HostDir>/mnt/user/iTunes/Music/</HostDir>
      <ContainerDir>/media</ContainerDir>
      <Mode>ro</Mode>
    </Volume>
  </Data>
  <Environment/>
  <Config Name="Host Port 1" Target="9790" Default="9790" Mode="tcp" Description="Container Port: 9790" Type="Port" Display="always" Required="true" Mask="false">9790</Config>
  <Config Name="Host Port 2" Target="9791" Default="9791" Mode="tcp" Description="Container Port: 9791" Type="Port" Display="always" Required="true" Mask="false">9791</Config>
  <Config Name="Host Path 1" Target="/media" Default="/mnt/user/" Mode="ro" Description="Container Path: /media" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/iTunes/Music/</Config>
</Container>

The config page is attached below. Container is starting well and working as expected. I have 2 remaining questions:

  • is there any way to add a nice icon that is located somewhere on /boot
  • where are the config files? I am not sure that this Docker is surviving a reboot

Would be great if you can explain how to do that. Thanks a lot.

 

 

Edited by EdgarWallace

  • 3 months later...

the FAQ has been updated to include log rotation for docker containers. If I turn this feature on now, does affect existing containers? i.e. should I expect it to go through my existing (overly large) log files and rotate them out based on the options I chose? Or do you need to reinstall the container for log rotation to apply?

It will shrink your current log files based on the log settings, once new log entries are generated for a container. No need to re-install containers.

  • 2 months later...

I have several containers running that I want to execute with “--restart unless-stopped” option. How do I do this? When I go to edit a docker container I don’t see a place to add custom command line options. 

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.