grep docker logs

Shell
docker logs nginx 2>&1 | grep "127." 
Source

Also in Shell: