failed to solve with frontend dockerfile.v0: failed to create LLB definition: unexpected status code

简介: failed to solve with frontend dockerfile.v0: failed to create LLB definition: unexpected status code

Docker构建过程中失败

B-D3T8MD6R-1911:docker-app zhuxuemin$ docker build . -t docker-java-app
[+] Building 0.1s (3/3) FINISHED                                                                                                                          
 => [internal] load build definition from Dockerfile                                                                                                 0.0s
 => => transferring dockerfile: 208B                                                                                                                 0.0s
 => [internal] load .dockerignore                                                                                                                    0.0s
 => => transferring context: 2B                                                                                                                      0.0s
 => ERROR [internal] load metadata for docker.io/williamyeh/java8:latest                                                                             0.1s
------
 > [internal] load metadata for docker.io/williamyeh/java8:latest:
------
failed to solve with frontend dockerfile.v0: failed to create LLB definition: unexpected status code [manifests latest]: 403 Forbidden

解决办法,调整配置文件buildkit: false

{

builder”: {

“gc”: {

“defaultKeepStorage”: “20GB”,

“enabled”: true

}

},

experimental”: false,

“features”: {

“buildkit”: false

},

registry-mirrors”: [

https://docker.mirrors.ustc.edu.cn/

]

}

目录
相关文章
|
Docker 容器
解决failed to solve with frontend dockerfile.v0: failed to create LLB definition: unexpected status co
解决failed to solve with frontend dockerfile.v0: failed to create LLB definition: unexpected status co
2782 0
解决failed to solve with frontend dockerfile.v0: failed to create LLB definition: unexpected status co
|
5月前
|
Linux Go C语言
【ERROR】chaincode install failed with status: 500 - failed to invoke backing implementation xxx
【ERROR】chaincode install failed with status: 500 - failed to invoke backing implementation xxx
85 0
|
6月前
|
开发者 iOS开发
no identity found Command CodeSign failed with a nonzero exit code
no identity found Command CodeSign failed with a nonzero exit code
76 0
|
6月前
|
Kubernetes 容器
k8s-error execution phase upload-config/kubelet: Error writing Crisocket...
k8s-error execution phase upload-config/kubelet: Error writing Crisocket...
184 0
|
开发者 iOS开发
Xcode运行报错The operation couldn’t be completed. Unable to launch xxx because it has an invalid code...
Xcode运行报错The operation couldn’t be completed. Unable to launch xxx because it has an invalid code...
896 0
|
网络协议
Job for named.service failed because the control process exited with error code.
Job for named.service failed because the control process exited with error code.
809 0
Execution failed for task :Test:lintVitalRelease/Lint found fatal errors while assembling a release
Execution failed for task :Test:lintVitalRelease/Lint found fatal errors while assembling a release
121 0
|
关系型数据库 MySQL Java
解决方案 --Failed to initialize JPA EntityManagerFactory: Unable to create requested service
解决方案 --Failed to initialize JPA EntityManagerFactory: Unable to create requested service
解决方案 --Failed to initialize JPA EntityManagerFactory: Unable to create requested service
|
Android开发
解析Failure [INSTALL_FAILED_CONFLICTING_PROVIDER]
解析Failure [INSTALL_FAILED_CONFLICTING_PROVIDER]
431 0
解析Failure [INSTALL_FAILED_CONFLICTING_PROVIDER]