grep
docker logs nginx 2>&1 | grep "127."
pipe to vim
docker logs nginx 2>&1 | less
directly open the log file
docker inspect --format={{.LogPath}} <ContainerName>
grep
docker logs nginx 2>&1 | grep "127."
pipe to vim
docker logs nginx 2>&1 | less
directly open the log file
docker inspect --format={{.LogPath}} <ContainerName>