Configure DinD to use Zot as pull-through registry mirror #183

Merged
eblume merged 1 commit from feature/dind-zot-registry-mirror into main 2026-02-13 12:36:04 -08:00
3 changed files with 9 additions and 0 deletions

View file

@ -22,3 +22,7 @@ data:
network: "host"
# Connect to DinD sidecar via TCP (not socket)
docker_host: tcp://127.0.0.1:2375
daemon.json: |
{
"registry-mirrors": ["http://host.minikube.internal:5050"]
}

View file

@ -77,6 +77,10 @@ spec:
volumeMounts:
- name: dind-storage
mountPath: /var/lib/docker
- name: config
mountPath: /etc/docker/daemon.json
subPath: daemon.json
readOnly: true
volumes:
- name: data

View file

@ -0,0 +1 @@
Configure DinD sidecar to use Zot as a pull-through registry mirror for Docker Hub images, reducing bandwidth and avoiding rate limits during Dagger CI builds.