Hello,
i have created to docker container, with similar compose files. The first one works fine, but the second has the attached logs.
I've followed the tutorial from https://af3556.github.io/Compute/Vaultwarden-❤️-Tailscale
Docker-compose:
services:
ts-opencloud:
image: tailscale/tailscale:latest
container_name: ts-opencloud
environment:
- TS_HOSTNAME=opencloud
- TS_AUTHKEY=tskey-client-...
- TS_STATE_DIR=/var/lib/tailscale
volumes:
- /media/piDocker/opencloud/tailscale/state:/var/lib/tailscale
- /media/piDocker/opencloud/tailscale/config:/config
devices:
- /dev/net/tun:/dev/net/tun
cap_add:
- net_admin
- sys_module
restart: unless-stopped
I'm working on a Pi5 and mounted the /media/piDocker
The compose files are handled over portainer.
When i try the recommended docker exec -it ts-opencloud tailscale --socket="/tmp/tailscaled.sock" i get following message:
Error response from daemon: Container 0c968e9371984a7028c7b1052c210e10bf0906d2defaafafd5afd3d6e324d311 is restarting, wait until the container is running
Does anyone have a clue, how i can fix the problem?