Home  >  Q&A  >  body text

docker 报错 Is 'docker -d' running on this host?

➜  ~  sudo docker run -t -i ubuntu /bin/bash

2014/12/08 17:00:22 Cannot connect to the Docker daemon. Is 'docker -d' running on this host?

安装完成之后测试官方项目发现报这个错误,找了很久没有找到答案.

天蓬老师天蓬老师2761 days ago743

reply all(3)I'll reply

  • 黄舟

    黄舟2017-04-21 11:18:13

    Already done:
    1. Try typing docker -d
    2. Found the error changed to no permission
    3. Enter sudo docker -d
    4. The prompt that there is uninstalled software is appamor
    5. sudo apt-get install appamor
    6. Done.

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-21 11:18:13

    You need to add Docker to the daemon process.

    The specific statement depends on your OS release version.

    reply
    0
  • 阿神

    阿神2017-04-21 11:18:13

    yum -y install device-mapper-libs

    reply
    0
  • Cancelreply