I am using a playbook task to run a docker containers, it's running 
correctly except that it is not running with the `--privileged` option 
although I am choosing `privileged=yes`:

- name: Launch Datadog monitoring agent
>       docker:
>           image: datadog/docker-dd-agent
>           privileged: yes
>           name: dd-agent
>           hostname: "{{datadog.hostname}}"
>           volumes:
>               - /var/run/docker.sock:/var/run/docker.sock
>               - /proc/mounts:/host/proc/mounts:ro
>               - /cgroup:/host/sys/fs/cgroup:ro
>           env: "API_KEY={{datadog.key}}"
>       tags: monitoring



-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/97745d71-73cf-4d8e-907d-fb384f265268%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to