docker安装后出现Cannot connect to the Docker daemon.

查看:90
本文介绍了docker安装后出现Cannot connect to the Docker daemon.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问 题

系统: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

这篇关于docker安装后出现Cannot connect to the Docker daemon.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆