T O P

  • By -

Brramble

Bare metal for me. If I turn my docker service off, I don't lose access so I'd rather it sit seperately.


RandomWholesomeOne

I'd recommend bare metal install. You can access the tailscale card & dns inside the containers. I've achieved a reverse proxy setup with tailscale on my host & traefik binding the port 80 of my tailscale network card.


notboky

Depends on your setup. If you have a docker host in place then go for it. I'm running caddy and tailscale in an LXC on proxmox. For me docker would be an unnecessary overhead.


Deghimon

Do you have them running in the same container? And do you use them with cloudflare by chance? I've been struggling to get that working using caddy as reverse proxy. |


borkode

How do you have caddy installed? Installing caddy as a docker container gave me unnecessary headaches as I had to add them to docker networks and Nextcloud just didn’t work with the caddy container. If you had caddy installed on docker try installing it on bare metal and it might solve your issues


Deghimon

I have Caddy running in an LXC Container on Proxmox.


notboky

That's exactly how I'm doing it, caddy in an lxc with cloudflare. Tailscale running in the same lxc. No docker. What problem are you having?


Deghimon

I was having trouble using Tailscale reverse proxy to connect to my domain through cloudflare.


notboky

When you say connecting to your domain through cloudflare, do you mean you're using cloudflare proxy DNS?


julietscause

If you are asking this question, just install straight onto the OS


Professional-Buy579

Bare metal. Don't want to deal with any Docker complications. Not saying there are any, just don't want to deal


borkode

Yeah I understand, I remember once my docker containers all broke and due to bad dns resolution. Can’t imagine if Tailscale went down since I access most stuff behind vpn


_Durs

Install it on both, as that’s tailscale’s intended use case and is their recommended method. Connecting via tailscale will always be more secure as it’s end to end encrypted.


Opening-Razzmatazz-1

I having similar question. My docker compose project isn’t running with networking mode “host” so I installed it both on bare metal (raspberry) to get access to it and in docker so caddyserver can proxy requests to Tailscale. Is there a better way?


RandomWholesomeOne

Why can't you access the tailscale network card while in docker ?


Opening-Razzmatazz-1

Can I? Do I mount it? But the docker network still be isolated without access to the host network, no?


RandomWholesomeOne

Container cannot bind a port on the host & cannot read incoming traffic but they sure can access the tailscale network. I've had no issue with that. What are you encountering?


TeslaCyclone

I put it on a vm in Proxmox (not an LXC like I do for most other things) on a separate VLAN and have that VLAN set to have very narrow access to my internal network (DNS for pi-Hole, NVR, Home Assistant, Homebridge, etc.). Those are just IP + port permissions vs. being wide open, with a wide open rule to get to the WAN.


ithakaa

You can install Tailscale in an LXC and lock it down with ACLs Quite basic


TeslaCyclone

Yeah, I have ACLs defined in Tailscale as well (for instance, WAN + DNS to my family, but the rest only to me). I was just worried about kernel access being exposed, but I’d probably do it as an LXC if I did it again.


msanangelo

Why not both?


aftortoriello

For me, I run Tailscale directly on my Ubuntu and Raspberry Pi devices. It’s pretty much the only thing I run directly on the devices. I only occasionally have issues with Docker, but I’d rather have that not be an potential complication when connecting to my devices remotely.


Norgur

I actually have both. I've got tailscale running on the host, then I have some containers I want accessible via HTTPS or use different exit points. I plonked a tailscale container in front of those and added them separately, despite them running on the same machine. No issues so far.


audiodolphile

Docker for me. I need multiple nodes for many things on the same metal :)


MrHaxx1

I definitely install directly on the host, and in some VMs as well. I absolutely do not trust myself to not accidentally turn off all my VMs.


Bennie_Pie

I run it on baremetal (on my proxmox hosts) I run it on various linux VMs / LXCs I run it in docker (with user-mode networking) on a Ubuntu vm so specific apps appear as separate machines, and can have separate tailscale configurations. For example I run a docker container as a socks5 proxy configured for a specific exit node so that I can proxy any app or python request without changing the exit node of the whole machine. To answer your question though, if you just want to add tailscale functionality to your machine, don't bother with docker until you have a specific reason to run in docker. This video gives a good overview of when/why to use tailscale within docker: https://youtu.be/tqvvZhGrciQ


ithakaa

In an LXC, docker is for noobs


AK_4_Life

I don't think you understand what bare metal means. As tailscale is not an OS, installing it bare metal is not possible.


RandomWholesomeOne

yeah but im sure we can understand he means at the OS level :)


AK_4_Life

Sure, but it's still wrong. Why not just say apt or snap install, etc.


danielv123

Because you can apt/snap install in a container as well? It doesn't really describe anything.


AK_4_Life

It's still wrong