# First build the tailscale container:
(source .env; docker build -t tailscale:${TAILSCALE_TAG} "${TAILSCALE_PATH}")
# Start services
docker-compose up
# Start tailscale service and log in
docker-compose exec tailscale tailscale up
# Now the tailscale service is accessible in the tailscale container and the dev container
docker-compose exec dev ping <another_host_on_tailscale>
Configuration for which tailscale version to use, etc. are stored in .env
and can be overwritten using environment variables.
This repo is derived from the discussion here.