运行docker报错Cannot connect to the Docker daemon. Is 'docker -d' running on this host?

今天在ubuntu下安装了一下docker,然后运行bash,报错,如下所示: # sudo docker run -t -i ubuntu /bin/bash 2015/09/01 19:05:22 Cannot connect to the Docker daemon. Is 'docker -d' running on this host?
已邀请:

Ansible - 项目实施 系统工程师

赞同来自: koyo

消息已经给你提示了,让你‘docker -d’运行。
如果提示appamor没有安装,如下安装一下就行
sudo apt-get install appamor如果Centos,如下安装:
yum -y install device-mapper-libs

要回复问题请先登录注册