Skip to content

daemonless/tailscale

Repository files navigation

Tailscale

Build Status Last Commit

Zero-config mesh VPN built on WireGuard — securely connect your devices without port forwarding or firewall changes.

Registry ghcr.io/daemonless/tailscale
Source https://github.com/tailscale/tailscale
Website https://tailscale.com/

Version Tags

Tag Description Best For
latest / pkg FreeBSD Quarterly. Uses stable, tested packages. Most users. Matches Linux Docker behavior.
pkg-latest FreeBSD Latest. Rolling package updates. Newest FreeBSD packages.

Prerequisites

Before deploying, ensure your host environment is ready. See the Quick Start Guide for host setup instructions.

Deployment

Podman Compose

services:
  tailscale:
    image: ghcr.io/daemonless/tailscale:latest
    container_name: tailscale
    environment:
      - TS_AUTHKEY=tskey-auth-xxxx
      - TS_EXTRA_ARGS=--advertise-exit-node
    volumes:
      - "/path/to/containers/tailscale:/config"
    restart: unless-stopped

AppJail Director

.env:

DIRECTOR_PROJECT=tailscale
TS_AUTHKEY=tskey-auth-xxxx
TS_EXTRA_ARGS=--advertise-exit-node

appjail-director.yml:

options:
  - virtualnet: ':<random> default'
  - nat:
services:
  tailscale:
    name: tailscale
    options:
      - container: 'boot args:--pull'
    oci:
      user: root
      environment:
        - TS_AUTHKEY: !ENV '${TS_AUTHKEY}'
        - TS_EXTRA_ARGS: !ENV '${TS_EXTRA_ARGS}'
    volumes:
      - tailscale: /config
volumes:
  tailscale:
    device: '/path/to/containers/tailscale'

Makejail:

ARG tag=latest

OPTION overwrite=force
OPTION from=ghcr.io/daemonless/tailscale:${tag}

Podman CLI

podman run -d --name tailscale \
  -e TS_AUTHKEY=tskey-auth-xxxx \
  -e TS_EXTRA_ARGS=--advertise-exit-node \
  -v /path/to/containers/tailscale:/config \
  ghcr.io/daemonless/tailscale:latest

Ansible

- name: Deploy tailscale
  containers.podman.podman_container:
    name: tailscale
    image: ghcr.io/daemonless/tailscale:latest
    state: started
    restart_policy: always
    env:
      TS_AUTHKEY: "tskey-auth-xxxx"
      TS_EXTRA_ARGS: "--advertise-exit-node"
    volumes:
      - "/path/to/containers/tailscale:/config"

Parameters

Environment Variables

Variable Default Description
TS_AUTHKEY tskey-auth-xxxx Optional: Tailscale Auth Key for automatic login
TS_EXTRA_ARGS --advertise-exit-node Optional: Additional arguments for tailscale up

Volumes

Path Description
/config State directory (tailscaled.state)

Architectures: amd64 User: root (UID/GID via PUID/PGID, defaults to 1000:1000) Base: FreeBSD 15.0


Need help? Join our Discord community.

About

Native FreeBSD OCI container image for Tailscale

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors