在Windows Server 2016上使用Docker空气密封环境 [英] Using Docker on Windows Server 2016 air gapped Environment

查看:99
本文介绍了在Windows Server 2016上使用Docker空气密封环境的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我目前正在空气密封的环境中使用Docker。我正在尝试设置它,以便一个服务器可以在我们的防火墙中访问以获取Microsoft Images,这样我就可以将它们推送到我们的私人供稿。



但是,我无法找到任何说明我必须列入白名单所需网址的地方。
b


有人可以指出我正确的方向?



谢谢。

Hi,

I'm currently using Docker in an air-gapped environment. I'm trying to set it up so one server has access in our fire-wall to pull Microsoft Images so I can then push them to our private feed.

However, I can't find anywhere that stated the required URLs that I have to white-list in order to do this.

Could someone please point me in the right direction?

Thanks.

推荐答案

您好Francommit,

Hi Francommit,

您的代理中只需列入白名单  https://registry-1.docker.io/v2/域。

Just whitelist https://registry-1.docker.io/v2/ domain in your proxy.

您还可以在docker中设置代理详细信息,看看这里的文档:  https://docs.docker.com/engine/reference/commandline/pull/#proxy-configuration

You can also set proxy details in docker itself, look documentation here: https://docs.docker.com/engine/reference/commandline/pull/#proxy-configuration

在Docker for windows或mac中,你也可以去在偏好设置和设置代理也访问Docker中心。

In Docker for windows or mac, you can also go in preferences and set proxy to access Docker hub as well.

我希望这会有所帮助。

问候,

Jorge Arteiro

Jorge Arteiro

Azure MVP

Azure MVP


这篇关于在Windows Server 2016上使用Docker空气密封环境的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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