docker-registry-proxy
docker-registry-proxy copied to clipboard
Feature: Add option for authenticating clients
Everyone who can connect to the proxy, can retrieve images from private repos. In case where this is not desired, there could be an option to authenticate clients that are allowed to use the proxy.
Maybe something as simple as enabling HTTP Basic authentication in Nginx would satisfy most use cases:
auth_basic "Authentication required";
auth_basic_user_file conf/htpasswd;
Note: Of course, if you connect to the proxy via HTTP these credentials are transferred over the network unencrypted. If this is not desired, there should also be options to configure the HTTPS server in Nginx.