mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
k3s containerd could not reach the emulated ECR registry: repository URIs embed localhost plus the host-published port, which resolves to the k3s container itself, and containerd requires a registries.yaml entry before it will speak plain HTTP to a registry. New clusters now get a generated /etc/rancher/k3s/registries.yaml, injected through the Docker API before the container starts, that mirrors every repository hostname the emulator can mint (the default account across the region catalog, plus the path-style form) to the registry container's in-network endpoint. Public registries are never matched, and any failure skips the mirror without aborting cluster creation. Opt out with FLOCI_SERVICES_EKS_ECR_REGISTRY_MIRROR=false. Closes #1761