GoogleCloudPlatform / docker-registry-driver-gcs

Docker Registry Google Cloud Storage driver
Apache License 2.0
26 stars 14 forks source link

registry should generate certs #27

Open proppy opened 9 years ago

proppy commented 9 years ago

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:

proppy commented 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

proppy commented 9 years ago

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
proppy commented 9 years ago

Or we could just setup gunicorn to do SSL:http://gunicorn-docs.readthedocs.org/en/latest/settings.html#ssl

tiborvass commented 9 years ago

@proppy precisely what I did, i have a working example.

proppy commented 9 years ago

@tiborvass do you plan to push this upstream in docker/docker-registry?

tiborvass commented 9 years ago

@proppy yes

proppy commented 9 years ago

@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.