Docker container fails to start: Cannot connect to the Docker daemon

Ah thanks for that hint, overlooked that, as it is only mentioned in the docker-compose and testing section…

Now I used the command

docker run -d -p 80:80 -p 443:443 --network caddy -v /var/run/docker.sock:/var/run/docker.sock -v caddy_data:/data --restart unless-stopped caddy:latest

and it seems to be working…

I’m trying to run a few containers such as Jellyfin and Collabora, might be a bit overkill but I liked that I can specify the caddy dirctives directly in the docker-compose file… Anyways, it seems to be working now…

Thanks for your help!

1 Like