Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tailscale container example improvement #92

Open
Fijo opened this issue May 31, 2024 · 1 comment
Open

Tailscale container example improvement #92

Fijo opened this issue May 31, 2024 · 1 comment

Comments

@Fijo
Copy link

Fijo commented May 31, 2024

I stumbled uppon a few things with your tailscale container example, that I'd like you to know.

Source: docker-compose.yaml

After reading the following docs

I'm under the impression access to the /dev/net/tun-DEVICE (via the volume mount) could likely be removed, as it shouldn't be used.

This is because the environment variable TS_USERSPACE is not set and defaults to true. The point of userspace networking is to work without /dev/net/tun.

I'm still in the process of optimizing my own setup. I'll try to share an update based on my experience, (possible with small additional tweaks suggested) soon. But just in case I forget I wrote this issue, already.

@Fijo
Copy link
Author

Fijo commented Jul 9, 2024

I decided to share a simplified version of the different tailscale-client setups I'm using for now.
https://gist.github.com/Fijo/b75d25bcb0be0c5ed8106319a99f6a79

Maybe I'll get around to working out a more specific suggestion here as well at some point...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant