File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ for this to work it requires inserting a root CA certificate into system trusted
17
17
### master is unstable/beta
18
18
19
19
- ` master ` (and ` :latest ` Docker tag) is unstable
20
- - 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 )
20
+ - 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 )
21
21
22
22
23
23
### Usage
@@ -43,7 +43,7 @@ docker run --rm --name docker_registry_proxy -it \
43
43
-v $( pwd) /docker_mirror_certs:/ca \
44
44
-e REGISTRIES=" k8s.gcr.io gcr.io quay.io your.own.registry another.public.registry" \
45
45
-e AUTH_REGISTRIES=" auth.docker.io:dockerhub_username:dockerhub_password your.own.registry:username:password" \
46
- rpardini/docker-registry-proxy:0.3.0-beta2
46
+ rpardini/docker-registry-proxy:0.3.0
47
47
```
48
48
49
49
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 \
57
57
-e AUTH_REGISTRIES_DELIMITER=" ;;;" \
58
58
-e AUTH_REGISTRY_DELIMITER=" :::" \
59
59
-e AUTH_REGISTRIES=" gcr.io:::_json_key:::$( cat servicekey.json) ;;;auth.docker.io:::dockerhub_username:::dockerhub_password" \
60
- rpardini/docker-registry-proxy:0.3.0-beta2
60
+ rpardini/docker-registry-proxy:0.3.0
61
61
```
62
62
63
63
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.
You can’t perform that action at this time.
0 commit comments