-
-
Save rafnixg/e6b4a72f32ad818f5492f787a2d8d9c5 to your computer and use it in GitHub Desktop.
how to grep docker log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker logs nginx 2>&1 | grep "127." | |
# ref: http://stackoverflow.com/questions/34724980/finding-a-string-in-docker-logs-of-container |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment