开发者社区> 问答> 正文

Dragonfly报错:docker proxy error

已解决

when docker pull, there are some errors as follows:
root@iZ2ze7tbgo9lk7jubiy6tcZ:~# df-daemon --registry https://docker.acmcoder.com -port 18001

launch df-daemon on port:18001
2017/12/12 18:21:28 http: proxy error: context canceled
2017/12/12 18:21:32 http: proxy error: context canceled
2017/12/12 18:21:34 http: proxy error: context canceled
2017/12/12 18:21:35 http: proxy error: context canceled
2017/12/12 18:21:36 http: proxy error: context canceled
2017/12/12 18:21:36 http: proxy error: dial tcp: i/o timeout
2017/12/12 18:21:37 http: proxy error: context canceled
2017/12/12 18:21:38 http: proxy error: context canceled
Killed

不使用Dragonfly,我的docker私有仓库是没问题的:
root@iZ2ze7tbgo9lk7jubiy6tcZ:~# curl https://docker.acmcoder.com

Harbor
Loading...
root@iZ2ze7tbgo9lk7jubiy6tcZ:~#

https://github.com/alibaba/Dragonfly/issues/16

展开
收起
lifubang 2017-12-13 11:13:46 5735 0
1 条回答
写回答
取消 提交回答
  • nodejs mongodb
    采纳回答

    registry mirror 必须是 localhost或127.0.0.1

    2019-07-17 21:48:55
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
应用 Docker 进行持续交付:用技术改变交付路程 立即下载
从Docker到容器服务 立即下载
Docker@Alibaba——超大规模Docker化的实战经验 立即下载