Skip to content

Commit 937b06e

Browse files
committed
release 0.5.0; update README to point to ghcr.io as well as DockerHub
1 parent 427dd06 commit 937b06e

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

README.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,14 @@ for this to work it requires inserting a root CA certificate into system trusted
2121
## master/:latest is unstable/beta
2222

2323
- `:latest` and `:latest-debug` Docker tag is unstable, built from master, and amd64-only
24-
- Production/stable is `0.4.2`, see [0.4.2 tag on Github](https://github.com/rpardini/docker-registry-proxy/tree/0.4.2) - this image is multi-arch amd64/arm64
25-
- The previous version is `0.3.0`, see [0.3.0 tag on Github](https://github.com/rpardini/docker-registry-proxy/tree/0.3.0) (amd64 only)
24+
- Production/stable is `0.5.0`, see [0.5.0 tag on Github](https://github.com/rpardini/docker-registry-proxy/tree/0.5.0) - this image is multi-arch amd64/arm64
25+
26+
## Also hosted on GitHub Container Registry (ghcr.io)
27+
28+
- DockerHub image is at `rpardini/docker-registry-proxy:<version>`
29+
- GitHub image is at `ghcr.io/rpardini/docker-registry-proxy:<version>`
30+
- Since 0.5.x, they both carry the same images
31+
- This can be useful if you're already hitting DockerHub's rate limits and can't pull the proxy from DockerHub
2632

2733
## Usage
2834

@@ -43,7 +49,7 @@ docker run --rm --name docker_registry_proxy -it \
4349
-p 0.0.0.0:3128:3128 \
4450
-v $(pwd)/docker_mirror_cache:/docker_mirror_cache \
4551
-v $(pwd)/docker_mirror_certs:/ca \
46-
rpardini/docker-registry-proxy:0.4.2
52+
rpardini/docker-registry-proxy:0.5.0
4753
```
4854

4955
### DockerHub auth
@@ -59,7 +65,7 @@ docker run --rm --name docker_registry_proxy -it \
5965
-v $(pwd)/docker_mirror_certs:/ca \
6066
-e REGISTRIES="k8s.gcr.io gcr.io quay.io your.own.registry another.public.registry" \
6167
-e AUTH_REGISTRIES="auth.docker.io:dockerhub_username:dockerhub_password your.own.registry:username:password" \
62-
rpardini/docker-registry-proxy:0.4.2
68+
rpardini/docker-registry-proxy:0.5.0
6369
```
6470

6571
### Simple registries auth (HTTP Basic auth)
@@ -87,7 +93,7 @@ docker run --rm --name docker_registry_proxy -it \
8793
-v $(pwd)/docker_mirror_certs:/ca \
8894
-e REGISTRIES="reg.example.com git.example.com" \
8995
-e AUTH_REGISTRIES="git.example.com:USER:PASSWORD" \
90-
rpardini/docker-registry-proxy:0.4.2
96+
rpardini/docker-registry-proxy:0.5.0
9197
```
9298

9399
### Google Container Registry (GCR) auth
@@ -110,7 +116,7 @@ docker run --rm --name docker_registry_proxy -it \
110116
-e AUTH_REGISTRIES_DELIMITER=";;;" \
111117
-e AUTH_REGISTRY_DELIMITER=":::" \
112118
-e AUTH_REGISTRIES="gcr.io:::_json_key:::$(cat servicekey.json);;;auth.docker.io:::dockerhub_username:::dockerhub_password" \
113-
rpardini/docker-registry-proxy:0.4.2
119+
rpardini/docker-registry-proxy:0.5.0
114120
```
115121

116122
## Configuring the Docker clients / Kubernetes nodes
@@ -169,7 +175,7 @@ docker run --rm --name docker_registry_proxy -it
169175
-p 0.0.0.0:3128:3128 \
170176
-v $(pwd)/docker_mirror_cache:/docker_mirror_cache \
171177
-v $(pwd)/docker_mirror_certs:/ca \
172-
rpardini/docker-registry-proxy:0.4.2-debug
178+
rpardini/docker-registry-proxy:0.5.0-debug
173179
```
174180

175181
- `DEBUG=true` enables the mitmweb proxy between Docker clients and the caching layer, accessible on port 8081

0 commit comments

Comments
 (0)