Hi,
I’ll try to use to Crowdsec with Jellyseerr but i have an error “Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?”.
Docker service > OK
Permission docker.sock > OK
User group > my user is in the docker group.
Thx
Where is CrowdSec running? is it on host or container?
If its inside a container have you mounted the socket via a volume?
Thx for your answer !
In a container with SWAG.
This line ?
- /var/run/docker.sock:/var/run/docker.sock:ro
In the compose example, there is also : ## Bad pratice to mount docker socket into a container
So i didn’t mount the soket… I must do that ?
Yes it bad practice to mount the socket directly into the container, I wrote a example within our docker compose repo
So you un-comment the socket proxy container and the ## DOCKER_HOST: tcp://socket-proxy:2375
This example is for a root docker installation, if your using rootless docker then the path if different.
This is the solution I purposed within the compose example
1 Like