Tracing Docker Applications
1
2
3
4
5
6
7
8
9
| docker run --rm --name dd-agent --cgroupns host --pid host \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
-v /proc/:/host/proc/:ro \
-v /sys/fs/cgroup/:/host/sys/fs/cgroup:ro \
-p 127.0.0.1:8126:8126/tcp \
-e DD_APM_ENABLED=true \
-e DD_SITE=<region>.datadoghq.com \
-e DD_API_KEY=<api_key> \
gcr.io/datadoghq/agent:latest
|