Open proppy opened 9 years ago
We also need to run a nginx container in front either as a separate container (good) or in the same image (bad).
@ktintc @dlorenc
one trick we could use is having the docker registry entry point output its own usage.
$(docker run docker-registry)
would run:
docker run -v ... nginx
docker run -v ... docker-registry
Or we could just setup gunicorn to do SSL:http://gunicorn-docs.readthedocs.org/en/latest/settings.html#ssl
@proppy precisely what I did, i have a working example.
@tiborvass do you plan to push this upstream in docker/docker-registry?
@proppy yes
@tiborvass I was planning to work on this today, care to collaborate on this? I'm happy to either do the review or take over your working example.
Since 1.3.1 docker rejects pulls from insecure location unless they are whitelisted with a new
--insecure-registry
flag.We should make sure users can run
google/docker-registry
on localhost:5000, without having them to pass extra flag to their daemon.For that we need to:
-v /etc/docker/certs.d