Portainer Templates

Tailscale (stack)

NetworkVpn

Tailscale lets you easily manage access to private resources, quickly SSH into devices on your network, and work securely from anywhere in the world.

Pulls: 118.5M
Stars: 342
User: tailscale
Created: Apr 14, 2020
Updated: 2 days ago
Status: active
Type Kubernetes Platform linux Image tailscale/tailscale:latest Command tailscaled Volumes

/var/lib : /portainer/Files/AppData/Config/tailscale /dev/net/tun : /dev/net/tun

Restart Policy unless-stopped Sourced Repo Env Vars

Installation

Via Portainer

  1. Ensure both Docker and Portainer are installed, and up-to-date
  2. Log into your Portainer web UI
  3. Under Settings → App Templates, paste the below URL
  4. Head to Home → App Templates, and the list of apps will show up
  5. Select the app you wish to deploy, fill in any config options, and hit Deploy

Template Import URL

https://raw.githubusercontent.com/Lissy93/portainer-templates/main/templates.json
Show Me demo

Via Docker Run

docker run -d \ 
  -v /portainer/Files/AppData/Config/tailscale:/var/lib \
  -v /dev/net/tun:/dev/net/tun \
  --restart=unless-stopped \
  tailscale/tailscale:latest

Via Docker Compose

Save this file as docker-compose.yml and run docker-compose up -d
Use this only as a guide.

version: '3.8'
services:
  tailscale-stack-:
    image: tailscale/tailscale:latest
    volumes:
      - /portainer/Files/AppData/Config/tailscale:/var/lib
      - /dev/net/tun:/dev/net/tun

Alternative Methods

For more installation options, see the Documentation in the GitHub repo

Container Documentation