Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Tailscale-up is a container image which extends the original tailscale/tailscale image by building-in a script for automatic execution of `tailscaled` and `tailscale up` CLI command (including all "up" arguments which can be set as a container environment variables).

License

Notifications You must be signed in to change notification settings

MonolithProjects/docker-tailscale-up

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED

This repository is depricated. The original tailscale container image now allows to run Tailscale easily and pass all the neccesary parameters. https://hub.docker.com/r/tailscale/tailscale

Tailscale-up Container image

Build image DockerHub-stable DockerHub-unstable

Tailscale-up is a container image which extends the original tailscale/tailscale image by building-in a script for automatic execution of tailscaled and tailscale up CLI command (including all "up" arguments which can be set as a container environment variables).

Supported flags

tailscale up arguments can be passed as following variables. For flags description, please check: https://tailscale.com/kb/1080/cli/#up

  • ACCEPT_DNS
  • ACCEPT_ROUTES
  • ADVERTISE_EXIT_NODE
  • ADVERTISE_ROUTES
  • ADVERTISE_TAGS
  • AUTHKEY
  • CUSTOM_HOSTNAME
  • EXIT_NODE
  • EXIT_NODE_ALLOW_LAN_ACCESS
  • FORCE_REAUTH
  • HOST_ROUTES
  • NETFILTER_MODE
  • OPERATOR
  • QR
  • RESET
  • SHIELDS_UP
  • SNAT_SUBNET_ROUTES

Example docker-compose

version: '3'
services:
  tailscale:
    image: monolithprojects/tailscale-up:latest
    environment:
      - AUTHKEY=$AUTHKEY
      - ACCEPT_DNS=true # This can be any value as the script is evaluating only if the variable is set or not.
      - CUSTOM_HOSTNAME="myserver"
    volumes:
      - /dev/net/tun:/dev/net/tun
      - /var/lib/tailscale:/var/lib/tailscale
    network_mode: host
    privileged: true
    restart: unless-stopped

License

MIT

Author Information

Created in 2022 by Michal Muransky

About

Tailscale-up is a container image which extends the original tailscale/tailscale image by building-in a script for automatic execution of `tailscaled` and `tailscale up` CLI command (including all "up" arguments which can be set as a container environment variables).

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published