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.

Container (Flame) won't stay started when Tailscale is used

Featured Replies

Following the Tailscale instructions from SpaceInvaderOne I wanted to get the Flame dashboard working as its own separate Tailscale device so that I could reference in the browser using magicDNS. My first issue occurred but was solved here:
Unraid 7 / Add Container / ERROR: Couldn't detect persistent Docker directory for .tailscale_state! - Tailscale - Unraid

Per the instructions, I did something like:
image.png

because my directory is:
image.png

The container starts, but it fails soon after despite looking ok in the logs initially. Digging deeper into the logs, I see the following:


Executing Unraid Docker Hook for Tailscale

Tailscale found, continuing...

Settings Tailscale state dir to: /app/data/.tailscale_state

Setting host name to "flame"

Starting tailscaled with log file location: /var/log/tailscaled

Starting tailscale

WARNING: Tailscale Key will expire in 179 days.

Navigate to https://login.tailscale.com/admin/machines and 'Disable Key Expiry' for flame

See: https://tailscale.com/kb/1028/key-expiry

Starting container...

=======================

BusyBox v1.36.1 (2023-06-02 00:42:02 UTC) multi-call binary.

Usage: chown [-RhLHPcvf]... USER[:[GRP]] FILE...

Change the owner and/or group of FILEs to USER and/or GRP

-h Affect symlinks instead of symlink targets

-L Traverse all symlinks to directories

-H Traverse symlinks on command line only

-P Don't traverse symlinks (default)

-R Recurse

-c List changed files

-v Verbose

-f Hide errors

root@MediaServer:~#

Anyone know why this may be occurred or if I have set something incorrectly?

  • Author

Maybe to give more information,

  • The container works fine without Tailscale integration. Something in the docker run with tailscale is causing an issue.

  • I think something is wrong with the 3 lines of the docker run:


-e ORG_CMD="sh

-c chown

-R node /app/data && node server.js"

These should be one line right? Can I fix this or am I incorrect about this is the issue?

docker run

-d

--name='flame'

--entrypoint='/opt/unraid/tailscale'

--net='bridge'

--pids-limit 2048

-e TZ="America/New_York"

-e HOST_OS="Unraid"

-e HOST_HOSTNAME="MediaServer"

-e HOST_CONTAINERNAME="flame"

-e 'PASSWORD'='redacted'

-e TAILSCALE_HOSTNAME='flame'

-e TAILSCALE_ALLOW_LAN_ACCESS='false'

-e TAILSCALE_USE_SSH='false'

-e TAILSCALE_USERSPACE_NETWORKING='false'

-e TAILSCALE_STATE_DIR='/app/data/.tailscale_state'

-e ORG_ENTRYPOINT="docker-entrypoint.sh"

-e ORG_CMD="sh

-c chown

-R node /app/data && node server.js"

-l net.unraid.docker.managed=dockerman

-l net.unraid.docker.webui='http://[IP]:[PORT:5005]'

-l net.unraid.docker.icon='https://raw.githubusercontent.com/pawelmalak/unraid-templates/master/templates/icons/flame.png'

-l net.unraid.docker.tailscale.webui='http://[noserve]:5005'

-l net.unraid.docker.tailscale.hostname='flame'

-p '5030:5005/tcp'

-v '/mnt/user/appdata/flame':'/app/data':'rw'

-v '/usr/local/share/docker/tailscale_container_hook':'/opt/unraid/tailscale'

--cap-add=NET_ADMIN

--device='/dev/net/tun'

--init 'pawelmalak/flame'

e98e38a42d2df68cbe7878ee928a84ebf3df4

The command finished successfully!

  • 3 weeks later...
On 8/27/2025 at 9:27 AM, Vaslo said:

Maybe to give more information,

  • The container works fine without Tailscale integration. Something in the docker run with tailscale is causing an issue.

  • I think something is wrong with the 3 lines of the docker run:


-e ORG_CMD="sh

-c chown

-R node /app/data && node server.js"

These should be one line right? Can I fix this or am I incorrect about this is the issue?

docker run

-d

--name='flame'

--entrypoint='/opt/unraid/tailscale'

--net='bridge'

--pids-limit 2048

-e TZ="America/New_York"

-e HOST_OS="Unraid"

-e HOST_HOSTNAME="MediaServer"

-e HOST_CONTAINERNAME="flame"

-e 'PASSWORD'='redacted'

-e TAILSCALE_HOSTNAME='flame'

-e TAILSCALE_ALLOW_LAN_ACCESS='false'

-e TAILSCALE_USE_SSH='false'

-e TAILSCALE_USERSPACE_NETWORKING='false'

-e TAILSCALE_STATE_DIR='/app/data/.tailscale_state'

-e ORG_ENTRYPOINT="docker-entrypoint.sh"

-e ORG_CMD="sh

-c chown

-R node /app/data && node server.js"

-l net.unraid.docker.managed=dockerman

-l net.unraid.docker.webui='http://[IP]:[PORT:5005]'

-l net.unraid.docker.icon='https://raw.githubusercontent.com/pawelmalak/unraid-templates/master/templates/icons/flame.png'

-l net.unraid.docker.tailscale.webui='http://[noserve]:5005'

-l net.unraid.docker.tailscale.hostname='flame'

-p '5030:5005/tcp'

-v '/mnt/user/appdata/flame':'/app/data':'rw'

-v '/usr/local/share/docker/tailscale_container_hook':'/opt/unraid/tailscale'

--cap-add=NET_ADMIN

--device='/dev/net/tun'

--init 'pawelmalak/flame'

e98e38a42d2df68cbe7878ee928a84ebf3df4

The command finished successfully! geometry dash scratch

Thanks you so much!

Edited by MikeDHood

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.