Access Control for Private Docker Registry

Is there a way to access the push and pull controls for a private docker registry?

I have a machine where I run a private docker registry like

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 grabbed this from the github docker registry under Run Registry Key.

This works great, but then someone can pull and push for it. I would like to limit the control over who can pull / push the registry.

Is there a way to do this?

Rate your answer.

+3


source to share


1 answer


You can use any web server with pre-registry authentication. Here's a sample with ngnix.



PS There is a similar question .

+2


source







All Articles