docker 出現錯誤:no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS
阿新 • • 發佈:2018-12-15
docker 出現錯誤:Get http:///var/run/docker.sock/v1.19/version: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?
好好的docker用了好久了,今天突然發現檢視映象命令時候出錯了。 報錯資訊:
http:///var/run/docker.sock/v1.19/version: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?
然後就查看了docker狀態,但是 是正常的。。
[[email protected] ~]$ service docker status;
docker (pid 1615) is running...
[[email protected] ~]$
然後試著重啟docker
[[email protected] ~]$ service docker restart;
Stopping docker:
卡住一直不動。。。。
後來執行命令
sudo yum install device-mapper-event-libs
就正常了。。。 先這樣吧。後面再具體找原因分析看看。