How to set up local transparent container images caches.
docker.io
, registry.k8s.io
, gcr.io
, and ghcr.io
by default.
If your configuration is different, you might need to modify the commands below:
Note: Proxies are started as docker containers, and theyβre automatically configured to start with Docker daemon.As a registry container can only handle a single upstream Docker registry, we launch a container per upstream, each on its own host port (5000, 5001, 5002, 5003 and 5004).
QEMU
Local Clusterdocker logs -f registry-docker.io
.
The first time cluster boots, images are pulled and cached, so next cluster boot should be much faster.
Note:10.5.0.1
is a bridge IP with default network (10.5.0.0/24
), if using custom--cidr
, value should be adjusted accordingly.
docker
Local Cluster172.17.0.1
.
On Linux, the docker bridge address can be inspected with ip addr show docker0
.
Note: Removing docker registry containers also removes the image cache. So if you plan to use caching registries, keep the containers running.
overridePath: true
to prevent Talos and containerd from appending /v2
to the path.
http://harbor
in this example) can be configured with authentication or custom TLS: