How can I remove the leading service names from the docker-compose output logging?
When running docker-compose up I get logs such as
container_1 | container output text
container_1 | container output text
I would like
container output text
container output text
Is there a way to remove the leading container_1 |? I understand from a high level this is because if you have multiple containers this allows to discern which container is outputting the log as in
container_1 | container output text
container_2 | container output text
I know I can do start the services then attach to one like
docker-compose -d up
docker attach
but exiting on the docker-compose exit status becomes difficult and its a hack at best.
so, How can I remove the leading service names from the docker-compose output logging