[P9] Distribute Homelab CA cert to Docker and buildkit #102
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The Gitea registry is behind Traefik TLS with a self-signed wildcard cert (
*.homelab.fhirworx.io, CA:Homelab CA). Buildkit and Docker daemon don't trust this CA, so HTTPS pushes togitea.homelab.fhirworx.iowill fail with certificate errors.Solution
traefik/certs/ca.crtinto the Docker daemon's trusted certs dir~/.config/docker/certs.d/gitea.homelab.fhirworx.io/ca.crtbuildkit_configin the buildx plugin to trust the CAbuildkit_driveroptDepends on
gitea.homelab.fhirworx.ioresolvesAcceptance criteria
docker pull gitea.homelab.fhirworx.io/homelab/testworks)insecure: truefrom all buildx steps