系统:ubuntu16.04
我是按照docker的文档上安装的 https://docs.docker.com/linux/step_one/
安装完成后docker的ps pull search run命令都会报这个错 Cannot connect to the Docker daemon. Is the docker daemon running on this host?
在文档上看到让我检查 DOCKER_HOST
这环境变量,然而我并不知道在哪检查
解决方案
我也出现过类似的错误。
因为,我忘记启动docker这个服务了。
service docker start