Note: There is no official Docker image for AIDE (Advanced Intrusion Detection Environment). Community images are available.
# Example community image (verify before use)
docker run --rm -it ghcr.io/aide/aide:latest --help
Create a Dockerfile:
FROM alpine:latest
RUN apk add --no-cache aide
ENTRYPOINT ["aide"]
Build and run:
docker build -t aide .
# Initialize AIDE database
docker run --rm -v /host/etc:/etc:ro -v aide-data:/var/lib/aide aide --init
# Run AIDE check
docker run --rm -v /host/etc:/etc:ro -v aide-data:/var/lib/aide aide --check
For file integrity monitoring, installing directly on the host is recommended:
# Debian/Ubuntu
sudo apt install aide
# RHEL/CentOS/Fedora
sudo dnf install aide
See AIDE Setup for installation instructions.