

The official Tailscale subreddit. Not routinely monitored by Tailscale employees. Please contact support via https://tailscale.com/contact/support if you need further help.
Portainer - Advertise Exit Node
Help Needed
Hey guys,
I finally got Tailscale running on Portainer (Open Media Vault on a Raspbery Pi) by using this docker compose stack:
version: '3.3' services: tailscale: container_name: tailscaled volumes: - /var/lib:/var/lib - /dev/net/tun:/dev/net/tun network_mode: host image: tailscale/tailscale restart: unless-stopped privileged: true environment: - PUID=998 - PGID=100 - TS_USERSPACE=true - TS_AUTH_KEY=SECRET - TS_ROUTES=192.168.178.0/24 cap_add: - NET_ADMIN I can access my machine through it's tailscale IP and I can even access all of my other local machines. However, I do not know how to advertise the exit node. What do I need to include in the docker compose so that my tailscale instance advertises itself as an exit node? Thank you!



Sort by:
Best
Open comment sort options
Best
Top
New
Controversial
Old
Q&A
Use TS_EXTRA_ARGS for exit nodes flags: Docker Tailscale kb
Searching the subreddit also confirms this (comment link).
Sorry to be such a n00b but how would I use that in my docker compose so that I can enable the “- -advertise-exit-node” flag?
I’m pretty new to the docker game and still trying to figure it all out.
With the help of u/artemis-sun I finally figured it out. Posting my final stack docker compose here for everyone else who runs into this issue:
Please note that I I had to make sure to use -- and not one long dash – as shown in the answer below. I also had to remove the " " to make it work.
deleted by user using PowerSuiteDelete.