update README, remove whitespace from example invocation

pull/7/head
Ricardo Pardini 2018-11-04 17:34:54 +01:00
parent 8b03786636
commit 19b9cdba0b
No known key found for this signature in database
GPG Key ID: 3D38CA12A66C5D02
1 changed files with 4 additions and 4 deletions

View File

@ -31,10 +31,10 @@ for this to work it requires inserting a root CA certificate into system trusted
```bash
docker run --rm --name docker_registry_proxy -it \
-p 0.0.0.0:3128:3128 \
-v $(pwd)/docker_mirror_cache:/docker_mirror_cache \
-v $(pwd)/docker_mirror_certs:/ca \
-v $(pwd)/docker_mirror_cache:/docker_mirror_cache \
-v $(pwd)/docker_mirror_certs:/ca \
-e REGISTRIES="k8s.gcr.io gcr.io quay.io your.own.registry another.public.registry" \
-e AUTH_REGISTRIES="auth.docker.io:dockerhub_username:dockerhub_password your.own.registry:username:password" \
-e AUTH_REGISTRIES="auth.docker.io:dockerhub_username:dockerhub_password your.own.registry:username:password" \
rpardini/docker-registry-proxy:0.2.1
```