I have a docker-compose.yml
which contain several containers. Three of them are for my app (client, server and database) and the rest are for various dev tools (e.g. psql, npm, manage.py, etc). When I do docker-compose up
all of them are started, but I only want the three main ones to start. Because of the links I’ve specified, I can start just those three with docker-compose up client
but then the output is only from that one container. So, is there a way to do one of the following:
- Tell docker-compose which containers should by started by
docker-compose up
- Get output from all linked containers from
docker-compose up client