{"action":"created","issue":{"url":"https://api.github.com/repos/DataDog/docker-dd-agent/issues/7","labels_url":"https://api.github.com/repos/DataDog/docker-dd-agent/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/DataDog/docker-dd-agent/issues/7/comments","events_url":"https://api.github.com/repos/DataDog/docker-dd-agent/issues/7/events","html_url":"https://github.com/DataDog/docker-dd-agent/issues/7","id":41554954,"number":7,"title":"In the case of AWS EC2 Amazon Linux /sys/fs/cgroup should be /cgroup","user":{"login":"Mulkave","id":2647333,"avatar_url":"https://avatars.githubusercontent.com/u/2647333?v=3","gravatar_id":"","url":"https://api.github.com/users/Mulkave","html_url":"https://github.com/Mulkave","followers_url":"https://api.github.com/users/Mulkave/followers","following_url":"https://api.github.com/users/Mulkave/following{/other_user}","gists_url":"https://api.github.com/users/Mulkave/gists{/gist_id}","starred_url":"https://api.github.com/users/Mulkave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mulkave/subscriptions","organizations_url":"https://api.github.com/users/Mulkave/orgs","repos_url":"https://api.github.com/users/Mulkave/repos","events_url":"https://api.github.com/users/Mulkave/events{/privacy}","received_events_url":"https://api.github.com/users/Mulkave/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"LotharSee","id":2720261,"avatar_url":"https://avatars.githubusercontent.com/u/2720261?v=3","gravatar_id":"","url":"https://api.github.com/users/LotharSee","html_url":"https://github.com/LotharSee","followers_url":"https://api.github.com/users/LotharSee/followers","following_url":"https://api.github.com/users/LotharSee/following{/other_user}","gists_url":"https://api.github.com/users/LotharSee/gists{/gist_id}","starred_url":"https://api.github.com/users/LotharSee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LotharSee/subscriptions","organizations_url":"https://api.github.com/users/LotharSee/orgs","repos_url":"https://api.github.com/users/LotharSee/repos","events_url":"https://api.github.com/users/LotharSee/events{/privacy}","received_events_url":"https://api.github.com/users/LotharSee/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2014-08-30T04:17:05Z","updated_at":"2015-01-12T21:07:03Z","closed_at":null,"body":"Tried to run this on an EC2 Amazon Linux instance:\r\n```bash\r\ndocker 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=apikey_3 datadog/docker-dd-agent\r\n```\r\ndidn't work, but this did: (replaced `/sys/fs/cgroup` with `/cgroup`\r\n\r\n```bash\r\ndocker 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 /cgroup/:/host/sys/fs/cgroup:ro -e API_KEY=apikey_3 datadog/docker-dd-agent\r\n```"},"comment":{"url":"https://api.github.com/repos/DataDog/docker-dd-agent/issues/comments/69645974","html_url":"https://github.com/DataDog/docker-dd-agent/issues/7#issuecomment-69645974","issue_url":"https://api.github.com/repos/DataDog/docker-dd-agent/issues/7","id":69645974,"user":{"login":"waisbrot","id":1170218,"avatar_url":"https://avatars.githubusercontent.com/u/1170218?v=3","gravatar_id":"","url":"https://api.github.com/users/waisbrot","html_url":"https://github.com/waisbrot","followers_url":"https://api.github.com/users/waisbrot/followers","following_url":"https://api.github.com/users/waisbrot/following{/other_user}","gists_url":"https://api.github.com/users/waisbrot/gists{/gist_id}","starred_url":"https://api.github.com/users/waisbrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waisbrot/subscriptions","organizations_url":"https://api.github.com/users/waisbrot/orgs","repos_url":"https://api.github.com/users/waisbrot/repos","events_url":"https://api.github.com/users/waisbrot/events{/privacy}","received_events_url":"https://api.github.com/users/waisbrot/received_events","type":"User","site_admin":false},"created_at":"2015-01-12T21:07:03Z","updated_at":"2015-01-12T21:07:03Z","body":"This worked for me, too. I'm running Amazon Linux AMI 2014.09"}}