43e2 发表于 2015-1-7 08:49:03

创建Docker容器时报dial unix /var/run/docker.sock: no such file or directory

在创建容器时报下列错误
# docker build -t ovcer/nginx .
Sending build context to Docker daemon
2015/01/07 06:43:51 Post http:///var/run/docker.sock/v1.15/build?rm=1&t=ovcer%2Fnginx: dial unix /var/run/docker.sock: no such file or directory

解决方法:
# systemctl start docker

页: [1]
查看完整版本: 创建Docker容器时报dial unix /var/run/docker.sock: no such file or directory