failed to solve with frontend dockerfile.v0: failed to create LLB definition: failed to do request: Head "https://registry-1.docker.io/v2/frolvlad/alpine-java/manifests/jdk8-slim": dial tcp: lookup registry-1.docker.io on 192.168.65.5:53: read udp 192.168.65.4:42832->192.168.65.5:53: i/o timeout
ERROR: Service 'myjar' failed to build : Build failed
修改daemon.json 文件 替換鏡像源即可
windwos系統:C:\用戶(Users)\你電腦用戶名\.docker
daemon.json
把
修改為
"registry-mirrors": [ "http://hub-mirror.c.163.com", "https://docker.mirrors.ustc.edu.cn/" ],
然后重啟docker服務