Hacker News new | ask | show | jobs
by purple-dragon 2184 days 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.
1 comments

docker-compose logs -f <service>

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