Skip to content

Instantly share code, notes, and snippets.

@alq666
Created November 10, 2014 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alq666/14fe622ff8d65c6441ae to your computer and use it in GitHub Desktop.
Save alq666/14fe622ff8d65c6441ae to your computer and use it in GitHub Desktop.
docker run -d --privileged --name dd-agent -h `hostname` \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /proc/mounts:/host/proc/mounts:ro \
-v /sys/fs/cgroup/:/host/sys/fs/cgroup:ro \
-e API_KEY=`etcdctl get /ddapikey` \
datadog/docker-dd-agent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment