is there a way to access control for push and pull for private docker registry ?
I have a machine where I am running a private docker registry like this
sudo yum install python-devel libevent-devel python-pip gcc xz-devel
sudo python-pip install docker-registry[bugsnag]
gunicorn --access-logfile - --debug -k gevent -b 0.0.0.0:5000 -w 1 docker_registry.wsgi:application
I have taken this from the github of docker registry under Run the Registry section.
This works fine but then anybody can pull and push to this. I would like to restrict the control of who can pull/push to registry.
Is there a way to do it ?
Appreciate your response.
You could use any web server with authentication before registry. Here the sample with ngnix.
P.S. There is similar question.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With