Are you trying to connect to a TLS-enabled daemon without TLS?

剛安裝完docker後

執行docker pull ubuntu 時報錯:

[root@comk ~]# docker pull ubuntu

Post http:///var/run/docker.sock/v1.19/p_w_picpaths/create?fromImage=ubuntu%3Alatest:

dial unix /var/run/docker.sock: no such file or directory. Are you trying to con

nect to a TLS-enabled daemon without TLS?



解決:service docker start 


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章