#Tailscale on HA Container

1 messages · Page 1 of 1 (latest)

hallow sigil
#

What have you done? What have you tried?

iron abyss
#

tailscale:
privileged: true
hostname: home-server
network_mode: "host"
container_name: tailscale
image: tailscale/tailscale:latest
volumes:
- /opt/appdata/tailscale/var_lib:/var/lib
- /dev/net/tun:/dev/net/tun
cap_add:
- net_admin
- sys_module
command: tailscaled

knotty oakBOT
#

To format your text as code, enter three backticks on the first line, press Shift+Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.

hallow sigil
#

Tailscale on HA Container

#

The service is up and connected?

iron abyss
#

I got it to works. So basically I just have to install curl -fsSL https://tailscale.com/install.sh | sh inside the HA server terminal, signup etc etc. Earlier on, I thought editing the config yml and do the command docker-compose up -d will pull and install the tailscale, thats the reason why its not working.

#

So what I did

  1. nano editing docker-compose.yaml
    tailscale:
    privileged: true
    hostname: home-server
    network_mode: "host"
    container_name: tailscale
    image: tailscale/tailscale:latest
    volumes:

    • /opt/appdata/tailscale/var_lib:/var/lib
    • /dev/net/tun:/dev/net/tun
      cap_add:
    • net_admin
    • sys_module
      command: tailscaled
  2. sudo docker-compose up -d

  3. curl -fsSL https://tailscale.com/install.sh | sh

  4. restart HA, and the rest signup etc etc, connect, download tailscale app, etc etc.