Docker:从另一个服务器的私人注册表中提取问题 [英] Docker: Issue with pulling from a private registry from another server

查看:250
本文介绍了Docker:从另一个服务器的私人注册表中提取问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚开始学习码头工作。



我有一个私有注册表在一个服务器(server1)上运行,并且可以通过键入以下内容从server1上提取测试图像:

  docker pull 127.0.0.1:5000/test 

但是,当我从另一个服务器输入上述命令时,我会收到以下错误消息:

 错误:无效注册端点:获取http://127.0.0.1:5000/v1/_ping:拨打tcp 127.0.0.1:5000:连接拒绝

我在配置中缺少某些东西?



任何帮助都不胜感激。



谢谢!

解决方案

Docker 1.3添加了--insecure-registry参数,允许您从远程私人注册表中拉取。请参阅:设置远程专用Docker注册表


I just started learning docker.

I have a private registry running on one server(server1), and can pull a test image from it on server1 by typing the following:

docker pull 127.0.0.1:5000/test

However, when I type the above command from another server, I get the error message below:

Error: Invalid Registry endpoint: Get http://127.0.0.1:5000/v1/_ping: dial tcp 127.0.0.1:5000: connection refused

Am I missing something in configuration?

Any help is appreciated.

Thanks!

解决方案

Docker 1.3 added '--insecure-registry' parameter which allows you to pull from a remote private registry. Refer this: Setting up a remote private Docker registry

这篇关于Docker:从另一个服务器的私人注册表中提取问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆