0.3.0-beta2 seems stable enough for a release

pull/38/head 0.3.0
ricardop 2020-04-07 12:22:22 +02:00
parent 19cbdfedfc
commit 67a81cf781
1 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ for this to work it requires inserting a root CA certificate into system trusted
### master is unstable/beta
- `master` (and `:latest` Docker tag) is unstable
- Currently stable version is `0.2.4`, see [0.2.4 tag on Github](https://github.com/rpardini/docker-registry-proxy/tree/0.2.4)
- Currently stable version is `0.3.0`, see [0.3.0 tag on Github](https://github.com/rpardini/docker-registry-proxy/tree/0.3.0)
### Usage
@ -43,7 +43,7 @@ docker run --rm --name docker_registry_proxy -it \
-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" \
rpardini/docker-registry-proxy:0.3.0-beta2
rpardini/docker-registry-proxy:0.3.0
```
Example with GCR using credentials from a service account from a key file `servicekey.json`:
@ -57,7 +57,7 @@ docker run --rm --name docker_registry_proxy -it \
-e AUTH_REGISTRIES_DELIMITER=";;;" \
-e AUTH_REGISTRY_DELIMITER=":::" \
-e AUTH_REGISTRIES="gcr.io:::_json_key:::$(cat servicekey.json);;;auth.docker.io:::dockerhub_username:::dockerhub_password" \
rpardini/docker-registry-proxy:0.3.0-beta2
rpardini/docker-registry-proxy:0.3.0
```
Let's say you did this on host `192.168.66.72`, you can then `curl http://192.168.66.72:3128/ca.crt` and get the proxy CA certificate.