-
Notifications
You must be signed in to change notification settings - Fork 18.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
runc run failed: stat: no such file or directory with warm BuildKit cache after 23.0 upgrade #44943
Comments
|
I am able to reproduce this with the following method:
The failure looks the same:
|
I've provided a complete reproduction at https://gist.github.com/neersighted/8bccac67a66ad2163c3e6ff02d412f29 to remove ambiguity for those doing the RCA. It seems plausible to me that only some base images result in this behavior, as I have had trouble getting it to reproduce on |
It's worth noting that it appears to me that |
Some more updates: I don't think this is based on base image like postulated in #44947; instead it appears to be based on a hot/cold cache. This can be mitigated by dropping the cache: |
After updating to
Disabling BUILDKIT fixed it.
Do you want me to create a new issue for this or add to docker/buildx#1595? |
It's hard to tell what you are seeing -- can you please post the complete output so we can determine if this is a novel issue or the same one? |
Dockerfile
.env:
Relevant section/changes from daemon.json:
After having ran both But I can confirm that I had the exact same issue as reported:
Just to be sure. I'm going to give my build machine a reboot. But let me know if you want the strace files. (I'm available on Keybase.) |
Output from docker compose:
Content of
|
Hmm, okay, this looks like the same issue. The odd thing is the failure to |
Not entirely sure what happened there. But I just tested, and after last night's reboot, I was able to run Just to summarize:
|
Fixed in #44959 |
When trying to run |
This is a closed/resolved issue, and you have not provided any context for the error message. If you are reproducing something specific to compose on 23.0.1, please file an issue on the compose repo with reproduction instructions. |
Description
I have some images built with
BUILDKIT_INLINE_CACHE=1
. Modify the Dockerfile and rebuild it.Images without
BUILDKIT_INLINE_CACHE=1
seem fine.It seems that it is not related to #44918
Reproduce
Build some images with
BUILDKIT_INLINE_CACHE=1
in 20.10 and upgrade to 23.0.0. Modify the Dockerfile and rebuild it.Expected behavior
To work as it worked before 23.0.0.
docker version
Client: Docker Engine - Community Version: 23.0.0 API version: 1.42 Go version: go1.19.5 Git commit: e92dd87 Built: Wed Feb 1 17:49:08 2023 OS/Arch: linux/amd64 Context: default Server: Docker Engine - Community Engine: Version: 23.0.0 API version: 1.42 (minimum version 1.12) Go version: go1.19.5 Git commit: d7573ab Built: Wed Feb 1 17:49:08 2023 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.6.16 GitCommit: 31aa4358a36870b21a992d3ad2bef29e1d693bec runc: Version: 1.1.4 GitCommit: v1.1.4-0-g5fd4c4d docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Additional Info
No response
The text was updated successfully, but these errors were encountered: