Sam Yaple d3b2b29726
Support docker registry mirrors without URI
Using a URI has not be allowed for many years [0], however this code was
not enforced until 17.10 docker [1].

Sadly, we need to setup 2 different vhost ports for this, old 1.13.1
clients will not work properly if they are combined with new.  Keep
original logic working on 8081 and move 17.10+ clients to 8082.

[0] https://github.com/docker/docker-ce/blob/17.06/components/engine/registry/config.go#L339
[1] 1cc36398f9

Change-Id: I837f562331603a7c00f9ba8554b6aa2975169eeb
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-02-12 13:18:47 -05:00
..