docker-registry-proxy
docker-registry-proxy copied to clipboard
Allow users to provide their own Docker credentials
This PR adds two configurable options that allow users to provide their own Docker credentials:
- Env
ALLOW_OWN_AUTH(defaultfalse): Allow overriding theAUTH_REGISTRIESauthentication with own Docker credentials if provided (to supportdocker loginas another user). (Fixes https://github.com/rpardini/docker-registry-proxy/issues/61) - Env
ALLOW_PUSH_WITH_OWN_AUTH(defaultfalse): Allow bypassing the proxy when pushing only if own authentication is provided.
I know this is probably not the right place, but thank you @gw0! Since we switched to OCI for our image repository I couldn't use the proxy anymore (couldn't get the auth to work), but with your fork it works like a charm :D