环境:mac docker desktop

问题描述:Dockerfile已配置insecure-registries但FROM未走自建harbor

错误信息:ERROR [internal] load metadata for docker.io/base/java:latest

解决:

vim ~/.docker/daemon.json

将buildkit:true 改为 false

"features": {
    "buildkit": false
}