github wolffcatskyy/crowdsec-blocklist-import v1.0.3
v1.0.3 - Auto-detect CrowdSec container

latest release: v1.0.4
7 hours ago

Changes

Container Auto-Detection

If the specified container name is not found, the script now:

  1. Searches for containers with "crowdsec" in the name
  2. Checks each container for the cscli command
  3. Uses the first valid CrowdSec container found
  4. Shows a warning with the detected name so you can update your config

Better Error Messages

When container detection fails, you now see:

  • List of all available containers
  • Common Docker Compose naming patterns
  • Step-by-step troubleshooting guide
  • Example command with correct syntax

Example Output

[ERROR] Cannot find CrowdSec container 'crowdsec'

Available containers:
  mystack_crowdsec_1 (crowdsecurity/crowdsec:latest)
  nginx (nginx:alpine)

Troubleshooting:
  1. Find your CrowdSec container: docker ps | grep -i crowdsec
  2. Set the correct name: -e CROWDSEC_CONTAINER=your_container_name

Full Changelog: v1.0.2...v1.0.3

Don't miss a new crowdsec-blocklist-import release

NewReleases is sending notifications on new releases.