I have an issue to build my image, because docker build is connecting via https.
failed to solve with frontend dockerfile.v0: failed to create LLB definition:
failed to do request: Head "https://harbor.local/v2/undertow-revocation-filter/manifests/latest":
dial tcp 10.180.136.12:443:
connect: connection refused
docker is configured with insecure registry
"insecure-registries": [
"harbor.local"
]
Docker file begins
FROM harbor.local/undertow-revocation-filter as undertow
docker pull from harbor.local works, curl with http works (curl http://harbor.local/v2/undertow-revocation-filter/manifests/latest)
This is for me unclear, why docker build is downloading metadata with https. I am using docker for windows 3.6.0.