When I am mistaken, he tries to search the central registry. How to completely disable it?
Is it possible to clear this URL?
If you are using a redhat clone with rpms from additional centos functions, they have an option for this:
--block-registry hostname
This is a RedHat extension (see here ), which I think has not been adopted upstream (given 13450 )
As a reference, right now (docker 1.9, November 2015):
pull.go looks for pull endpoints:
pull.go
s.registryService.LookupPullEndpoints()
registry/service.go looking for a V2 endpoint:
registry/service.go
s.lookupEndpoints(repoName)
registry/service_v2.go appends DefaultV2Registry:
registry/service_v2.go
endpoints = append(endpoints, APIEndpoint{ URL: DefaultV2Registry,
registry/config_unix.go includes registry/config_unix.go :
registry/config_unix.go
DefaultV2Registry = "https://registry-1.docker.io"
So, while itβs possible not to look for this endpoint, docker pull will still enable this central V2 registry by default.
docker pull
Source: https://habr.com/ru/post/1236211/More articles:can Eclipse Che be used to develop traditional monolithic applications? An Application That Does Not Use Docker - eclipseHorizontal stack histogram with chart.js - javascriptCreate a patch with each commit in the output log - gitshutdown button when ajax request - javascriptJWT (JSON Web Token) in PHP without using a third-party library. How to sign? - jsonThe fastest way to remove duplicates from a vector <> - c ++How to create a new instance of a class by passing Object [] instead of a list of parameters with reflection - javaCount the number of files in a directory using javascript / nodejs? - javascriptScrolling jQuery: determining end and beginning - javascriptBoost: is it possible to use multiple recursion in asynchronous calls? - c ++All Articles