关于使用Docker遇到的问题

       最近我在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 这条命令微笑 
......

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值