# Docker Compose with detached mode

**URL:** <https://forum.ansible.com/t/docker-compose-with-detached-mode/22190>\
**Category:** Ansible Project\
**Created:** [August 2, 2016, 3:58pm UTC](https://forum.ansible.com/t/docker-compose-with-detached-mode/22190 "2016-08-02T15:58:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carl\_Wainwright](https://avatars.discourse-cdn.com/v4/letter/c/8797f3/32.png) [@Carl\_Wainwright](https://forum.ansible.com/u/Carl_Wainwright)\
**Post date:** [August 2, 2016, 3:58pm UTC](https://forum.ansible.com/t/docker-compose-with-detached-mode/22190/1 "2016-08-02T15:58:59Z")

</div>

It’s not clear if the Ansible module **docker-service** supports the _-d_ command line option. I would like to detach my services after bringing them up with docker-compose

`docker-compose up -d`

Alternatively I’ll have to use a **shell** or **command** module to invoke the same command.

Any thoughts?
