Small footprint datadog-agent based on Alpine Linux
system-probe
is no longer built for datadog-agent-alpine images.
Use official image if you use system-probe
.
Availability of process-agent
, security-agent
, and trace-agent
can be switched by the make arguments: ENABLE_PROCESS_AGENT
, ENABLE_SECURITY_AGENT
, ENABLE_TRACE_AGENT
(set 1
to enable)
Installed integrations can be selected by INTEGRATIONS_CORE
argument.
btrfs
, disk
, ssh_check
, statsd
, system_core
, system_swap
are enabled by default.
For example, following command will build the Alpine based image with process-agent
and trace-agent
.
make docker-build ENABLE_TRACE_AGENT=1
The image works basically same as the official datadog-agent image.
For some reason, this image requires seccomp
or apparmor
setting to use journald
integration.
# docker-compose.yml
security_opt:
- "apparmor:unconfined"
- "seccomp:unconfined"
docker run --security-opt=seccomp=unconfined --security-opt=apparmor=unconfined ...
Pre-built images with some combination of the features are available on GitHub Container Registry.
# Minimal image
docker pull ghcr.io/seqsense/datadog-agent:7-alpine
# Image including process-agent
docker pull ghcr.io/seqsense/datadog-agent:7-proc-alpine
# Image including process-agent and trace-agent
docker pull ghcr.io/seqsense/datadog-agent:7-proc-apm-alpine
# Image including process-agent, security-agent, and trace-agent
docker pull ghcr.io/seqsense/datadog-agent:7-all-alpine
The scripts to build the images are licensed under the Apache License, Version 2.0.
The Datadog agent user space components are licensed under the Apache License, Version 2.0. See https://github.com/DataDog/datadog-agent/#license for the details.