I have a docker container running with detach mode (-d) flag. This container running application which is updating some output/logs in the terminal.
I want to see those output from the container in real-time in the terminal.
Is there any way possible to see the docker logs in terminal at real-time update from the application?
Thanks.
2
Answers
https://docs.docker.com/engine/reference/commandline/logs/
You need to tell Docker to follow the log output: