User Tools

Site Tools


devops:monitoring:datadog:docker_daemon

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

devops:monitoring:datadog:docker_daemon [2025/02/14 10:22] – created 85.219.17.206devops:monitoring:datadog:docker_daemon [2025/02/14 10:24] (current) – [Setup] 85.219.17.206
Line 16: Line 16:
 If you haven’t installed the Docker Agent, follow the in-app installation instructions or see below. For supported versions, see the Agent documentation. Use the one-step install command. Replace <YOUR_DATADOG_API_KEY> with your Datadog API key, and <DATADOG_SITE> with datadoghq.com. If you haven’t installed the Docker Agent, follow the in-app installation instructions or see below. For supported versions, see the Agent documentation. Use the one-step install command. Replace <YOUR_DATADOG_API_KEY> with your Datadog API key, and <DATADOG_SITE> with datadoghq.com.
  
-    docker run -d --cgroupns host --pid host --name dd-agent -v /var/run/docker.sock:/var/run/docker.sock:ro -v /  proc/:/host/proc/:ro -v /sys/fs/cgroup/:/host/sys/fs/cgroup:ro -e DD_SITE=<DATADOG_SITE> -e DD_API_KEY=<DATADOG_API_KEY> gcr.io/datadoghq/agent:7+   
  
 +    docker run -d --cgroupns host --pid host --name dd-agent -v /var/run/docker.sock:/var/run/docker.sock:ro -v /proc/:/host/proc/:ro -v /sys/fs/cgroup/:/host/sys/fs/cgroup:ro -e DD_SITE=<DATADOG_SITE> -e DD_API_KEY=<DATADOG_API_KEY> gcr.io/datadoghq/agent:
  
 +For ECR-public:
  
 +    docker run -d --cgroupns host --pid host --name dd-agent -v /var/run/docker.sock:/var/run/docker.sock:ro -v /proc/:/host/proc/:ro -v /sys/fs/cgroup/:/host/sys/fs/cgroup:ro -e DD_SITE=<DATADOG_SITE> -e DD_API_KEY=<DATADOG_API_KEY> public.ecr.aws/datadog/agent:
 +    
 +Note: If you’re using a different registry besides GCR or ECR-public, make sure to update the image.
  
 +Note: For some features provided by system-probe, including network monitoring, security agent, and oom_kill check, you must also mount the /etc/os-release file with -v /etc/os-release:/host/etc/os-release:ro. If your Linux distribution does not include an /etc/os-release file, mount the equivalent one provided, for example /etc/redhat-release or /etc/fedora-release.
 +
 +Note: For Docker Compose, see Compose and the Datadog Agent.
  
  
devops/monitoring/datadog/docker_daemon.1739528535.txt.gz · Last modified: 2025/02/14 10:22 by 85.219.17.206