关于使用Docker遇到的问题

来源:互联网 发布:黄山手绘工厂 知乎 编辑:程序博客网 时间:2024/05/24 07:13

       最近我在github clone了一个项目是关于一套人脸识别的算法 链接:https://github.com/BrandonJoffe/home_surveillance#features 当然这不是重点 重点是根据这个项目的使用说明 我需要用到一个叫Docker的容器框架 如果不知道Docker的话 这里有详细介绍 以及教程 http://www.docker.org.cn/index.html 我在使用它pull一个容器镜像的时候却得到了这样的错误:

Using default tag: latest
Warning: failed to get default registry endpoint from daemon (Cannot connect to the Docker daemon. Is the docker daemon running on this host?). Using system default: https://index.docker.io/v1/
Cannot connect to the Docker daemon. Is the docker daemon running on this host?

对于一个习惯从输出信息中找原因的程序员来说 我表示一头雾水 
但我最终还是解决了它
方法就是 你需要用sudo 来执行 Docker pull xx/xx 这条命令微笑 
......

原创粉丝点击