Reputation: 1493
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.
Upvotes: 6
Views: 4077