docker log 필터 / vim에서 보기

Indo Yoon

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>