how to grep for exception for a docker container code example Example: grep docker logs docker logs nginx 2>&1 | grep "127."