What is the best way to find a specific string in the logs of a docker container? Let\'s say I want to see all requests, that are made in the \"nginx\" docker image that came fr
I generally use it with -f option as well, when I am debugging the issue
-f
docker logs -f nginx 2>&1 | grep "127."
It will show us, what we are expecting in real-time.