开发者

How to check docker service logs when restart and stop by: sudo systemctle restart docker or sudo systemctl stop docker?

I have an ubuntu 18.04 running on a metal server. My docker working good but one day i can not build new docker image, my build script hang without showing any error (the script working good before).

I tried to restart docker engine by: 开发者_JS百科sudo systemctl restart docker but docker service can not active, the command: sudo systemcle stop docker not working too.

Then i rebooted my server then docker go back.

What log files should i check to know what make my docker service hang?


You can view the docker service logs using:

sudo journalctl -fu docker.service
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜