Registry: add compability.schema1 config
Add support for compatibility.schema1.enabled
setting
This does not include compatibility.schema1.signingkeyfile
, as
more research needs to be done in the event that this key needs to
be shared across service instances.
Relates to #1186 (closed)
cc @joshlambert
To reproduce / test (from gitlab-org/omnibus-gitlab#4145 (closed)):
try to push a docker image to the registry using docker 1.9.1 client (client versions >= 1.10 will push using schema2 by default).