docker_auth icon indicating copy to clipboard operation
docker_auth copied to clipboard

Override configuration options via Environment

Open mrueg opened this issue 8 years ago • 3 comments

It would be nice to be able to override config options via the environment as the docker registry currently does.

https://docs.docker.com/registry/configuration/#/override-specific-configuration-options

mrueg avatar Feb 22 '17 16:02 mrueg

yes, sounds good to me. as always - PRs welcome.

rojer avatar Feb 22 '17 16:02 rojer

Seems like this is what's needed: https://github.com/docker/distribution/blob/master/configuration/configuration.go https://github.com/docker/distribution/blob/master/configuration/parser.go

Do you think this will be difficult to integrate?

mrueg avatar Feb 24 '17 15:02 mrueg

yes, i think taht since auth server is a companion to the registry, it should use the same configurations scheme. ideally - just directly reuse the one used by the registry. however, this seems like a blocker - we have fields with underscores already. maybe something to consider for 2.0

rojer avatar Apr 04 '17 02:04 rojer