If you’re running Immich with Docker Compose and using Tailscale for secure networking, keeping Tailscale up to date is important for stability and security. Here’s a step-by-step guide based on a real-world workflow.

cd into the directory of the docker compse file that you used to create the containers. then..

Step 1: Check Running Containers

Check which containers are currently running:
sudo docker ps

Step 2: Pull the Latest Tailscale Image

Pull the latest Tailscale image (use sudo if needed):
sudo docker pull tailscale/tailscale:latest

Step 3: Stop and Remove the Old Tailscale Container

Remove the old Tailscale container to avoid conflicts:
sudo docker rm -f immich-immich-ts-1

Step 4: Recreate the Tailscale Container

Recreate the Tailscale container with Docker Compose using the latest image:
sudo docker compose up -d --no-deps --force-recreate immich-ts

Step 5: Verify the Update

Ensure the new container is running:
sudo docker ps

Summary

Updating Tailscale in a Dockerized Immich environment involves:

  1. Pulling the latest Tailscale image.
  2. Removing the old container.
  3. Recreating the container with Docker Compose.
  4. Verifying the container is running.

This process keeps your Tailscale container up to date without affecting other services in Immich.