Skip to main content

Docker & Agent Detection

wl-discover collects container security metadata and detects AI agent frameworks running inside Docker containers.

Container Security Metadata

For every Docker container, wl-discover collects: privileged mode, capabilities (add/drop), user/UID, read-only rootfs, volumes/bind mounts, network mode, PID mode, image digest, and lifecycle timestamps. This data is displayed in a Container Security card on the Server Detail page in the Registry Dashboard.

Risk Signals

Six risk signals are evaluated automatically:

Risk SignalTrigger
docker_privileged_containerContainer runs in privileged mode
docker_host_networkContainer uses host network namespace
docker_runs_as_rootContainer runs as UID 0
docker_writable_rootfsRoot filesystem is not read-only
docker_dangerous_capsContainer has dangerous Linux capabilities
docker_sensitive_host_mountSensitive host paths are bind-mounted

Multi-Tier Agent Detection

Agent framework detection uses a configurable 4-tier model:

TierMethodDefaultOverhead
1Static metadata — image name (30%), command (40%), env vars (20%), naming (10%)Always onNone
2Process inspectiondocker top to check running processesEnabledLow
3Package inspectiondocker exec pip list to check installed packagesDisabledMedium
4Generic AI detection — detects containers with LLM API credentials (OPENAI_API_KEY, ANTHROPIC_API_KEY, etc.)EnabledLow

Supported frameworks: LangGraph, CrewAI, AutoGen, LangChain.

Config Presets

Three enterprise presets are pre-seeded in the registry:

PresetDescription
Enterprise Standard (default)Process inspection on, package inspection off, threshold 0.50
High SecurityFull port scan, all inspection tiers enabled, threshold 0.30
Lightweight / DevelopmentNo deep inspection, threshold 0.65

Manage presets at Settings > Config Presets in the Registry Dashboard. The Docker & Agent Detection section provides toggles for process inspection, package inspection, generic AI detection, auto-registration, and threshold/rate-limit controls.

Host Identity

When wl-discover runs inside a Docker container, it reports the container's hostname and internal IP by default. To report the real host identity:

WL_DISCOVER_HOSTNAME=prod-host-01
WL_DISCOVER_HOST_IP=10.0.1.42

These are set automatically by bootstrap.sh.