Use host network for buildx to resolve internal DNS
The BuildKit container uses external DNS (8.8.8.8) by default, which cannot resolve internal hostnames like mirror.docker.syncad.com. Adding --driver-opt network=host makes BuildKit use the host's network stack, including internal DNS resolution.
Loading
Please sign in to comment