赞
踩
1、查看异常容器id
docker ps -a
-- id:e85e4839fcde
2、查看日志所在路径:
docker inspect --format '{{.LogPath}}' e85e4839fcde
3、打开错误日志,查看详情
cat /var/lib/docker/containers/e85e4839fcded360bf5f788f851ce90853b3cf8b8731ab1336cb798b68d9221d/e85e4839fcded360bf5f788f851ce90853b3cf8b8731ab1336cb798b68d9221d-json.log
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。