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.

How to enable tailscale for containers that doesn't use (the correct) UID/GID?

Featured Replies

 

 

when enable tailscale shows:

 

```

Executing Unraid Docker Hook for Tailscale

ERROR: No root privileges!
ERROR: Unraid Docker Hook script throw an error!
       Starting container without Tailscale!

Starting container...

```

 

I suspect this is because the Container doesn't have any UID or GID variables.

 

is there any (good) way I can fix this, except asking the maintainer to add UID/GID?

 

Thanks

Solved by bmartino1

  • Solution

you can add uid and guid via adding variables.

per the docks to use tail scale you need to run the docker as previlaged.

please post tailscale quetion on the tailescale side of the forum: 
https://forums.unraid.net/forum/111-tailscale/

review docs found in here:

 

stop the docker
edit the docker 

scroll to bottom and click add 

 

99 - nobody

100 - user group

0 - root

 

uid:
image.png.f4550ab048e14f4f0dafd797c5e4fb1c.png

 

pgid:
image.png.3ebdecf12175a7bc8befe604d6b194fe.png

20 hours ago, StylishQuoter said:

when enable tailscale shows:

Please always include the container that you are using and having issues with.

 

20 hours ago, StylishQuoter said:

I suspect this is because the Container doesn't have any UID or GID variables.

For such containers I would actually recommend the Tailscale Sidecar method <- using a sidecar will probably be much easier in an upcoming version from Unraid.

  • Author
2 hours ago, ich777 said:

Please always include the container that you are using and having issues with.

 

For such containers I would actually recommend the Tailscale Sidecar method <- using a sidecar will probably be much easier in an upcoming version from Unraid.

Thank you. 

 

I was referring to SpeedTest-By-OpenSpeedTest container although I was hoping for a universal workaround. Seems like sidecar is the way as I don't want to run containers like this privileged. 

 

 

25 minutes ago, StylishQuoter said:

I was referring to SpeedTest-By-OpenSpeedTest container although I was hoping for a universal workaround.

The process for the Tailscale Sidecar will be possibly more simplified in the future.

 

27 minutes ago, StylishQuoter said:

Seems like sidecar is the way as I don't want to run containers like this privileged.

I agree completely on that, don't run your containers privileged.

What is the Tailscale Sidecar?

15 hours ago, RoboCanvas said:

What is the Tailscale Sidecar?

You basically deploy this container (configure it to your liking) :
grafik.png.d9f785763da52c5bc8e3b2ef101d66cf.png

 

After that you use the network from the Tailscale-Docker in the container that you want to have your Tailnet by setting Network Type to "Container" and select the sidecar container at Container Network like this:

grafik.png.bf4eaeadf1126fa5347e5ebce35c70b4.png

  • 3 months later...

Ive tried doing the side car but once i change the network type on my "Gameyfin" docker to Tailscale-Docker i can't access. WebUI option for "Gameyfin" Docker goes away, and i cannot access at. Any tips to check?

  • 4 weeks later...

For anyone who stumbles upon this later in the future. After upgrading my Unraid to 7.1.4 that fixed my issue. I was previously on 7.1.2 i believe.

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.