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 requirement - allow mount points in unraid for read only images that make use of tempfs.

Featured Replies

Hello,

Currently unraid can only mount volumes with docker eg:

docker run -v '/mnt/user/appdata/unifi-controller-reborn/':'/unifi/run':'rw'

However I need to be able to mount tempfs eg:

docker run --mount type=tmpfs,dst=<mount-path>

from: https://docs.docker.com/engine/storage/tmpfs/#syntax

The inability for unraid to be unable to do this means that files that do not need to persist must now be stored on the array which can be undesirable, and complicates security of read only images. This was discussed in github issue here: https://github.com/11notes/docker-unifi/issues/33

Proposal: Add gui method to create tempfs mounts as per dockers documentation so that both GUI and community apps XML can support this method. This would allow me to take advantage of this feature and no longer store unneeded files in the docker appdata area.

Kind regards

P

its already possible, you just put it in extra parameter (toggle the advanced view)
image.png

  • Author
4 hours ago, Mainfrezzer said:

its already possible, you just put it in extra parameter (toggle the advanced view)
image.png

Hi there,

This actually does work, and I have got it working this way, but is this in line with unraid mentality? You could simply remove all parts of the gui and leave only "extra parameters" and expect everyone to simply add every single switch, volumes, any ports and so on via this single line. I feel there is a case for the GUI having common settings exposed otherwise why have any settings exposed at all no?

However this does resolve my immediate problem so will use this method for now.

Kind regards

P

Edited by PeteAsking

my understanding is yes as the template just builds a docker run line. and anything that can be setup in a docker run line and be placed there. This includes and is not limited to other advance docker option that affect making a ram disk and zdisk for dockers applications.

I've done similar with pbs and plex for transcode using extra par lines making ram disk of variant sizes. and temp fs to be deleted upon reboot. Included attempts to get unifi protect running under a docker using these mount and temp option in extra parameters.

some of my template even ship with some extra options so yes To my understanding as I have not gotten a no or a change, yes this lines up with expected expatiation and use case in templates and how unraid intended to run...

more info in the docker docs:
https://docs.docker.com/engine/storage/tmpfs/

there also the make the tempfs in the extra parm and path mount it in the unraid template where you can specify readonly...

image.png

including using bind mounts...

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.