Crowdsec won't create Bouncer API Key

Since the official repro was moved to migrated in v4.0.0 update. The first command line doesn't work anymore. So, I have to enter docker ps to grab the correct docker container.

docker exec -t crowdsec cscli bouncers add crowdsec-bouncer-traefik
Error response from daemon: No such container: crowdsec

After enter this command line with correct docker container. It won't create Bouncer API Key.

docker exec -t crowdsec_migrated-crowdsec-bouncer-traefik-1 cscli bouncers add crowdsec-bouncer-traefik
OCI runtime exec failed: exec failed: unable to start container process: exec: "cscli": executable file not found in $PATH

I think you need to fix docker containers on all apps in official repro. Because it may cause issues for other apps too.
Was this page helpful?