Closed Puffo19 closed 11 months ago
Running cscli dashboard setup
from within the container is not supported as you need to mount multiple directories that need to be mounted to host. (Hence the error you are seeing, the host cannot see the container /var/lib/crowdsec/data folder)
You can see how to run a separate image from the basic example just adapt it to your needs.
Thanks a lot. Thats helps me for the next steps.
Hello,
would it be possible to enable the dashboard from crowedsec?
I added
to the docker-compose file from https://github.com/crowdsecurity/example-docker-compose/blob/main/npm/docker-compose.yml
Then I tried to get the dashboard setup:
Trying to do
groupadd crowdsec
brings me a little step forward. But I get still an fatal error which I can't solve:the folder exists
/var/lib/crowdsec/data
in the docker container. What can solve this problem?