Created
October 8, 2019 19:45
-
-
Save ncracker/052137d2b5b6ad01586d0b919ee603e5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Datadog Docker agent | |
# - live processes enabled | |
# - using a proxy (see proxy docs > https://docs.datadoghq.com/agent/proxy/?tab=agentv6) | |
DOCKER_CONTENT_TRUST=1 docker run -d --name dd-agent --restart=always \ | |
-v /var/run/docker.sock:/var/run/docker.sock:ro \ | |
-v /proc/:/host/proc/:ro \ | |
-v /sys/fs/cgroup/:/host/sys/fs/cgroup:ro \ | |
-v /etc/passwd:/etc/passwd:ro \ | |
-e DD_API_KEY={YOUR_API_KEY_HERE} \ | |
-e DD_PROCESS_AGENT_ENABLED=true \ | |
-e DD_URL=https://{YOUR_PROXY_SERVER}:3834 \ | |
datadog/agent:latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment