我试图运行Docker,但它显示了这个错误:
FATA[0000] Post http:///var/run/docker.sock/v1.18/containers/create: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?
sudo service docker start
给出了这样的信息:
/etc/init.d/docker: 71: /etc/init.d/docker: cgroupfs_mount: not found
docker version
显示以下消息:
Client version: 1.6.2
Client API version: 1.18
Go version (client): go1.2.1
Git commit (client): 7c8fca2
OS/Arch (client): linux/amd64
FATA[0000] Get http:///var/run/docker.sock/v1.18/version: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?
我已经尝试过这里提到的解决方案:
FATA[0000] Get http:///var/run/docker.sock/v1.17/version: dial unix /var/run/docker.sock
这是安装apparmor并将用户添加到docker组,但也不能正常工作。
在此之前我的PC在Debian 7.8上使用内核3.2,然后我用内核3.16升级它并执行dist升级到Debian 8,因为docker无法在早于3.10的内核上运行。内核安装是否可能导致此问题?