Docker: disable remote registry extraction

When I am mistaken, he tries to search the central registry. How to completely disable it?

Is it possible to clear this URL?

+5
source share
2 answers

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 )

+3
source

As a reference, right now (docker 1.9, November 2015):

So, while it’s possible not to look for this endpoint, docker pull will still enable this central V2 registry by default.

0
source

Source: https://habr.com/ru/post/1236211/


All Articles