Skip to content

Commit 49f3181

Browse files
committed
update to version 0.6.5 in examples and README
1 parent 5d13b47 commit 49f3181

File tree

4 files changed

+12
-13
lines changed

4 files changed

+12
-13
lines changed

Diff for: README.md

+9-10
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ also known as the _Docker Apocalypse_.
2626
The main symptom is `Error response from daemon: toomanyrequests: Too Many Requests. Please see https://docs.docker.com/docker-hub/download-rate-limit/` during pulls.
2727
Many unknowing Kubernetes clusters will hit the limit, and struggle to configure `imagePullSecrets` and `imagePullPolicy`.
2828

29-
Since version `0.6.0`, this proxy can be configured with the env var `ENABLE_MANIFEST_CACHE=true` which provides
29+
This proxy can be configured with the env var `ENABLE_MANIFEST_CACHE=true` which provides
3030
configurable caching of the manifest requests that DockerHub throttles. You can then fine-tune other parameters to your needs.
3131
Together with the possibility to centrally inject authentication (since 0.3x), this is probably one of the best ways to bring relief to your distressed cluster, while at the same time saving lots of bandwidth and time.
3232

@@ -71,8 +71,7 @@ for this to work it requires inserting a root CA certificate into system trusted
7171
## master/:latest is unstable/beta
7272

7373
- `:latest` and `:latest-debug` Docker tag is unstable, built from master, and amd64-only
74-
- Production/stable is `0.6.2`, see [0.6.2 tag on Github](https://github.com/rpardini/docker-registry-proxy/tree/0.6.2) - this image is multi-arch amd64/arm64
75-
- The previous version is `0.5.0`, without any manifest caching, 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
74+
- Production/stable is `0.6.5`, see [0.6.5 tag on Github](https://github.com/rpardini/docker-registry-proxy/tree/0.6.5) - this image is multi-arch amd64/arm64
7675

7776
## Also hosted on GitHub Container Registry (ghcr.io)
7877

@@ -116,7 +115,7 @@ docker run --rm --name docker_registry_proxy -it \
116115
-p 0.0.0.0:3128:3128 -e ENABLE_MANIFEST_CACHE=true \
117116
-v $(pwd)/docker_mirror_cache:/docker_mirror_cache \
118117
-v $(pwd)/docker_mirror_certs:/ca \
119-
rpardini/docker-registry-proxy:0.6.2
118+
rpardini/docker-registry-proxy:0.6.5
120119
```
121120

122121
### DockerHub auth
@@ -132,7 +131,7 @@ docker run --rm --name docker_registry_proxy -it \
132131
-v $(pwd)/docker_mirror_certs:/ca \
133132
-e REGISTRIES="registry.k8s.io gcr.io quay.io your.own.registry another.public.registry" \
134133
-e AUTH_REGISTRIES="auth.docker.io:dockerhub_username:dockerhub_password your.own.registry:username:password" \
135-
rpardini/docker-registry-proxy:0.6.2
134+
rpardini/docker-registry-proxy:0.6.5
136135
```
137136

138137
### Simple registries auth (HTTP Basic auth)
@@ -160,7 +159,7 @@ docker run --rm --name docker_registry_proxy -it \
160159
-v $(pwd)/docker_mirror_certs:/ca \
161160
-e REGISTRIES="reg.example.com git.example.com" \
162161
-e AUTH_REGISTRIES="git.example.com:USER:PASSWORD" \
163-
rpardini/docker-registry-proxy:0.6.2
162+
rpardini/docker-registry-proxy:0.6.5
164163
```
165164

166165
### Google Container Registry (GCR) auth
@@ -183,7 +182,7 @@ docker run --rm --name docker_registry_proxy -it \
183182
-e AUTH_REGISTRIES_DELIMITER=";;;" \
184183
-e AUTH_REGISTRY_DELIMITER=":::" \
185184
-e AUTH_REGISTRIES="gcr.io:::_json_key:::$(cat servicekey.json);;;auth.docker.io:::dockerhub_username:::dockerhub_password" \
186-
rpardini/docker-registry-proxy:0.6.2
185+
rpardini/docker-registry-proxy:0.6.5
187186
```
188187

189188
### Kind Cluster
@@ -200,7 +199,7 @@ docker run --rm --name docker_registry_proxy -it \
200199
-p 0.0.0.0:3128:3128 -e ENABLE_MANIFEST_CACHE=true \
201200
-v $(pwd)/docker_mirror_cache:/docker_mirror_cache \
202201
-v $(pwd)/docker_mirror_certs:/ca \
203-
rpardini/docker-registry-proxy:0.6.2
202+
rpardini/docker-registry-proxy:0.6.5
204203
```
205204

206205
Now deploy your Kind cluster and then automatically configure the nodes with the following script :
@@ -229,7 +228,7 @@ wait $pids # Wait for all configurations to end
229228
docker run -d --name registry-proxy --restart=always \
230229
-v /tmp/registry-proxy/mirror_cache:/docker_mirror_cache \
231230
-v /tmp/registry-proxy/certs:/ca \
232-
rpardini/docker-registry-proxy:0.6.4
231+
rpardini/docker-registry-proxy:0.6.5
233232

234233
export PROXY_HOST=registry-proxy
235234
export PROXY_PORT=3128
@@ -335,7 +334,7 @@ docker run --rm --name docker_registry_proxy -it
335334
-p 0.0.0.0:3128:3128 -e ENABLE_MANIFEST_CACHE=true \
336335
-v $(pwd)/docker_mirror_cache:/docker_mirror_cache \
337336
-v $(pwd)/docker_mirror_certs:/ca \
338-
rpardini/docker-registry-proxy:0.6.2-debug
337+
rpardini/docker-registry-proxy:0.6.5-debug
339338
```
340339

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

Diff for: docs/compose/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '3.7'
22

33
services:
44
docker_registry_proxy:
5-
image: rpardini/docker-registry-proxy:0.6.1 # Check and make sure this is the last released version
5+
image: rpardini/docker-registry-proxy:0.6.5 # Check and make sure this is the last released version
66
env_file: # This contains REGISTRIES and AUTH_REGISTRIES
77
- ./secrets.env
88
environment:

Diff for: docs/kops/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ docker run --rm --name docker_registry_proxy -it \
99
-p 0.0.0.0:3128:3128 -e ENABLE_MANIFEST_CACHE=true \
1010
-v $(pwd)/docker_mirror_cache:/docker_mirror_cache \
1111
-v $(pwd)/docker_mirror_certs:/ca \
12-
rpardini/docker-registry-proxy:0.6.0
12+
rpardini/docker-registry-proxy:0.6.5
1313
```
1414

1515
or you can run it from another cluster, maybe a management/observability one with provided yaml, in this case, you will need to change the following lines:

Diff for: docs/kops/docker-registry-proxy.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ spec:
1919
serviceAccountName: default
2020
containers:
2121
- name: docker-registry-proxy
22-
image: ghcr.io/rpardini/docker-registry-proxy:0.6.1
22+
image: ghcr.io/rpardini/docker-registry-proxy:0.6.5
2323
imagePullPolicy: IfNotPresent
2424
env:
2525
- name: ENABLE_MANIFEST_CACHE

0 commit comments

Comments
 (0)