docker-ce日志查看

mac下用控制台查看docker日志

pred='process matches ".*(ocker|vpnkit).*" || (process in {"taskgated-helper", "launchservicesd", "kernel"} && eventMessage contains[c] "docker")'

/usr/bin/log stream --style syslog --level=debug --color=always --predicate "$pred"

你可能感兴趣的:(docker-ce日志查看)