Setup instructions
KestreLynx runs as one container per Docker host. It discovers and scans the images used by running containers, then sends the results to Slack or a webhook.
Requirements
- A Docker host
- Docker Compose or the Docker CLI
- At least one of the following notification destinations:
- Slack Incoming Webhook
- Slack bot token and channel
- Webhook URL
Run with Docker Compose
Download or clone the repository, then create a local configuration file.
Configure at least one notification destination as shown below.
Start KestreLynx.
The included Compose file persists scan history in the kestrelynx-state
volume. This state is required to preserve change-based notifications and
first-seen dates after the container is recreated.
Run with Docker
docker run -d --name kestrelynx \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
-v "$PWD/config.yml:/etc/kestrelynx/config.yml:ro" \
-v kestrelynx-state:/var/lib/kestrelynx \
ghcr.io/kitsunetrail/kestrelynx:latest
Set the timezone
schedule.daily_at is interpreted in the timezone specified by TZ. The
Compose example uses UTC by default. Change it to the timezone of the host as
needed.
Reference pages
- See Configuration for configuration options.
- See Notification logic for notification logic.