Skip to content

Commit 973f0d0

Browse files
committed
release 0.4.2; -debug version fixed, 429 ratelimit tolerance, 0s caching
1 parent 411edf4 commit 973f0d0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ 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.1`, see [0.4.1 tag on Github](https://github.com/rpardini/docker-registry-proxy/tree/0.4.1) - this image is multi-arch amd64/arm64
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
2525
- 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)
2626

2727
## Usage
@@ -43,7 +43,7 @@ docker run --rm --name docker_registry_proxy -it \
4343
-p 0.0.0.0:3128:3128 \
4444
-v $(pwd)/docker_mirror_cache:/docker_mirror_cache \
4545
-v $(pwd)/docker_mirror_certs:/ca \
46-
rpardini/docker-registry-proxy:0.4.1
46+
rpardini/docker-registry-proxy:0.4.2
4747
```
4848

4949
### DockerHub auth
@@ -59,7 +59,7 @@ docker run --rm --name docker_registry_proxy -it \
5959
-v $(pwd)/docker_mirror_certs:/ca \
6060
-e REGISTRIES="k8s.gcr.io gcr.io quay.io your.own.registry another.public.registry" \
6161
-e AUTH_REGISTRIES="auth.docker.io:dockerhub_username:dockerhub_password your.own.registry:username:password" \
62-
rpardini/docker-registry-proxy:0.4.1
62+
rpardini/docker-registry-proxy:0.4.2
6363
```
6464

6565
### Simple registries auth (HTTP Basic auth)
@@ -87,7 +87,7 @@ docker run --rm --name docker_registry_proxy -it \
8787
-v $(pwd)/docker_mirror_certs:/ca \
8888
-e REGISTRIES="reg.example.com git.example.com" \
8989
-e AUTH_REGISTRIES="git.example.com:USER:PASSWORD" \
90-
rpardini/docker-registry-proxy:0.4.1
90+
rpardini/docker-registry-proxy:0.4.2
9191
```
9292

9393
### Google Container Registry (GCR) auth
@@ -110,7 +110,7 @@ docker run --rm --name docker_registry_proxy -it \
110110
-e AUTH_REGISTRIES_DELIMITER=";;;" \
111111
-e AUTH_REGISTRY_DELIMITER=":::" \
112112
-e AUTH_REGISTRIES="gcr.io:::_json_key:::$(cat servicekey.json);;;auth.docker.io:::dockerhub_username:::dockerhub_password" \
113-
rpardini/docker-registry-proxy:0.4.1
113+
rpardini/docker-registry-proxy:0.4.2
114114
```
115115

116116
## Configuring the Docker clients / Kubernetes nodes
@@ -160,7 +160,7 @@ Test your own registry caching and authentication the same way; you don't need `
160160

161161
## Developing/Debugging
162162

163-
Since `0.4.1` there is a separate `-debug` version of the image, which includes `nginx-debug`, and has `mitmproxy` (actually `mitmweb`) inserted after the CONNECT proxy but before the caching logic.
163+
Since `0.4.2` there is a separate `-debug` version of the image, which includes `nginx-debug`, and has `mitmproxy` (actually `mitmweb`) inserted after the CONNECT proxy but before the caching logic.
164164
This allows very in-depth debugging, but tends to be unstable with huge layers. Use sparingly, and definitely not in production.
165165

166166
```bash
@@ -169,7 +169,7 @@ docker run --rm --name docker_registry_proxy -it
169169
-p 0.0.0.0:3128:3128 \
170170
-v $(pwd)/docker_mirror_cache:/docker_mirror_cache \
171171
-v $(pwd)/docker_mirror_certs:/ca \
172-
rpardini/docker-registry-proxy:0.4.1-debug
172+
rpardini/docker-registry-proxy:0.4.2-debug
173173
```
174174

175175
- `DEBUG=true` enables the mitmweb proxy, accessible on port 8081

0 commit comments

Comments
 (0)