-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
docker compose build on 150 images that are extends from other files fails randomly #9837
Comments
I can confirm this problem. My current workaround is replacing
My system:
|
This seems to be buildit related or buildkit specific. |
This looks similar to the issue described here where we run into a timeout because buildkit does not register the job in time. That would explain why limiting parallelism works around the problem (i.e. because it reduced the slowdown so the operation does not time out). |
moby/buildkit#2088 (comment) is fixed, so I'm closing this issue as well As a side note, you can limit the number of concurrent builds using |
Description
I have a compose.yml with 150 entries like this:
where images/some-server/compose.yml defines multiple versions like this:
and so on.
Trying to build this with
docker compose build
fails, often immediately, sometimes after a couple of steps, with:If I split the workload by just building some of the images at a time, it works fine (the limit seems to be rather high, 130 or so).
Output of
docker compose version
:Output of
docker info
:The text was updated successfully, but these errors were encountered: