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
windwos系统:C:\用户(Users)\你电脑用户名\.docker
把
修改为
"registry-mirrors": [ "http://hub-mirror.c.163.com", "https://docker.mirrors.ustc.edu.cn/" ],
然后重启docker服务