Go to Tailscale
Help Needed
Join the hundreds of engineering teams deploying better code, faster
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.
More replies More replies
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:
version: '3.3'services:tailscale:container_name: tailscaledvolumes:- /var/lib:/var/lib- /dev/net/tun:/dev/net/tunnetwork_mode: hostimage: tailscale/tailscalerestart: unless-stoppedprivileged: trueenvironment:- PUID=998- PGID=100- TS_USERSPACE=true- TS_ROUTES=192.168.178.0/24- TS_AUTH_KEY=YOURTSKEY- TS_EXTRA_ARGS=--advertise-exit-nodecap_add:- NET_ADMIN
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.
TOPICS
Internet Culture (Viral)
Games
Q&As
Technology
Pop Culture
Movies & TV
RESOURCES
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.
More replies More replies
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.
More replies More replies