Ubuntu 15.04 64位,docker 1.6.1,用户在docker组中。
操作系统启动后,每个docker命令执行都会导致此错误:
FATA[0000] Get http:///var/run/docker.sock/v1.18/images/search?term=node: dial unix /var/run/docker.sock: no such file or directory.
service docker restart
最佳答案
将docker设置为在启动时启动
这是centos6的命令
sudo / sbin / chkconfig-添加 docker
sudo / sbin / chkconfig-列表 docker
sudo / sbin / chkconfig jetty 上
希望能帮助到你
链接到Ubuntu的方法:
https://askubuntu.com/questions/58404/how-to-start-and-stop-a-service
关于docker - docker 错误FATA [0000]获取http:///var/run/docker.sock/v1.18/images/search?term = node:拨unix/var/run/docker.sock:没有此类文件或目录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30350937/