Skip to content

Tailscale Docker Mod with Duplicati #34

@mmenanno

Description

@mmenanno

For some reason the tailscale dockermod does not seem to be working with my duplicati container, but I've had no issues with any other linuxserver containers. I'm using Unraid.

First I was getting this error:

2025/05/17 18:57:40 netstack: could not connect to local backend server at 127.0.0.1:443: dial tcp 127.0.0.1:443: connect: connection refused

When the docker run generated by unraid looked like:

docker run
  -d
  --name='duplicati'
  --net='proxynet'
  --pids-limit 2048
  -e TZ="America/New_York"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="Leviathan"
  -e HOST_CONTAINERNAME="duplicati"
  -e 'SETTINGS_ENCRYPTION_KEY'=PRIVATE
  -e 'CLI_ARGS'=''
  -e 'DUPLICATI__WEBSERVICE_PASSWORD'=PRIVATE
  -e 'DOCKER_MODS'='ghcr.io/tailscale-dev/docker-mod:main'
  -e 'TAILSCALE_STATE_DIR'='/var/lib/tailscale'
  -e 'TAILSCALE_HOSTNAME'='duplicati'
  -e 'TAILSCALE_SERVE_MODE'='https'
  -e 'PUID'='99'
  -e 'PGID'='100'
  -e 'UMASK'='022'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='http://[IP]:[PORT:8200]/login.html'
  -l net.unraid.docker.icon='https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/duplicati-logo.png'
  -p '8200:8200/tcp'
  -v '/mnt/user/backups/duplicati':'/backups':'rw'
  -v '/mnt/user/data/':'/source':'rw'
  -v '/mnt/cache/appdata/duplicati/.tailscale_state':'/var/lib/tailscale':'rw'
  -v '/mnt/cache/appdata/duplicati':'/config':'rw' 'lscr.io/linuxserver/duplicati'
669b992365d24a08af131beaf3bd25166b40d03357a3eb706729ba304b35d914

Then when debugging with ChatGPT it suggested I try TAILSCALE_SERVE_MODE=http and TAILSCALE_SERVE_PORT=8200 so I made those changes and it just resulted in this error instead:

2025/05/17 19:18:20 netstack: could not connect to local backend server at 127.0.0.1:80: dial tcp 127.0.0.1:80: connect: connection refused

Any idea why this isn't working?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions