docker出現cannot connect to the docker daemon. is the docker daemon running on this host錯誤解決辦法
發生現象:
ubuntu15下,安裝完docker后,運行docker images 報錯cannot connect to the docker daemon. is the docker daemon running on this host? 如下圖
圖
原因分析:
目前我遇到這個問題是兩個原因造成的,一個是服務沒啟動,另一個是當前用戶沒權限。
解決方案:
1.啟動服務:service docker start
2.在執行命令前加上sudo如:sudo docker images
感謝閱讀,希望能幫助到大家,謝謝大家對本站的支持!
原文鏈接:http://blog.csdn.net/StemQ/article/details/53575320