Docker Error: x509: certificate is valid for recon-api-dev.agconnect.org, not registry-1.docker.io

ERROR: Get "https://registry-1.docker.io/v2/": x509: certificate is valid for recon-api-dev.agconnect.org, not registry-1.docker.io
edit hosts file.

34.228.211.243 registry-1.docker.io

failed to solve with frontend dockerfile.v0: failed to create LLB definition: failed to authorize: rpc error: code = Unknown desc = failed to fetch anonymous token: Get "https://auth.docker.io/token?scope=repository%3Alibrary%2Fnode%3Apull&service=registry.docker.io": x509: certificate is valid for businessphone.com, *.businessphone.com, not auth.docker.io

docker login

export DOCKER_BUILDKIT=0
export COMPOSE_DOCKER_CLI_BUILD=0

Comments

Popular posts from this blog

Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader.