Reputation: 5155
When I start a specific container with
docker-compose up $container_name
docker-compose starts this particular container, but attaches the log output for the $container_name only. How I can force it to output all the output for all the containers that $container_name depends on and which are started by the above command? I'd like to see the output of all containers that are started like by
docker-compose up
but with only the said and dependent containers being run.
Upvotes: 0
Views: 1162
Reputation: 2205
You can use --attach-dependencies
option:
docker-compose up --attach-dependencies foo
Upvotes: 1