docker查看日志

docker查看日志

docker run -d centos /bin/bash -c "while true;do echo hello;sleep 1;done"

docker logs -f -t --tail 5 11e37680511d
原文地址:https://www.cnblogs.com/brady-wang/p/14345918.html