top | item 23588265

(no title)

purple-dragon | 5 years ago

I think it would just be:

  docker logs -f CONTAINER
If you want to watch logs from a specific file within the container then I would just use 'docker exec' and whatever shell commands you prefer.

discuss

order

X-Istence|5 years ago

docker-compose logs -f <service>

So you don't have to manually hunt down the container you want the logs for.