当我输入错误的东西时,它试图在中央注册表中搜索。如何完全禁用它?
是否有清除该URL的选项?
发布于 2015-11-18 09:50:45
发布于 2015-11-18 09:58:36
作为参考,现在(码头1.9,2015年11月):
pull.go查找拉出端点:
s.registryService.LookupPullEndpoints()registry/service.go查找V2端点:
s.lookupEndpoints(repoName)registry/service_v2.go附加DefaultV2Registry:
端点=追加(端点,APIEndpoint{ URL: DefaultV2Registry,registry/config_unix.go包括DefaultV2Registry:
DefaultV2Registry = "https://registry-1.docker.io“因此,在出现不查找该端点的选项之前,docker pull仍将包括该中心默认的V2注册表。
https://stackoverflow.com/questions/33774267
复制相似问题