title: How to see the output of a service in a docker stack?
body: <p>With Docker Compose, when we run <code>docker-compose up</code> we see the output of all services being presented on the console, even with different colors to make it easier to distinguish them. Even if we have multiple instances of a service, the output of all of them appears there.</p>
  
  <p>Now, today I've tried deploying a stack to a swarm with Docker Compose v3 for the first time.</p>
  
  <p>After I do</p>
  
  <pre><code>docker deploy stack --compose-file=docker-compose.yml the_stack
  </code></pre>
  
  <p>I can see the services running by using </p>
  
  <pre><code>docker service ls
  </code></pre>
  
  <p>However, I'd like to see the output of the services as in Docker Compose.</p>
  
  <p>For instance, if I have a service <code>background_worker</code> with 3 replicas running in one node, I'd like to be able to see in that node the output of these replicas as I do with Docker Compose.</p>
  
  <p>How can I see the output of a replicated service deployed in a Docker Stack with Docker Swarm?</p>
  
  <p><strong>Edit</strong>: As answered, I need to enable experimental options on your docker daemon, however, I'm running this inside a docker-machine created with the hyperv driver, since it is not yet possible to run a multi-node swarm with Docker for Windows. How can I enable this inside the docker machine?</p>