Github prebuild fails during exporting layers #150078
Replies: 3 comments 4 replies
-
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
This seems the same issue addressed here, docker/buildx#2064. Can you please check that and see if it fixes your problem? |
Beta Was this translation helpful? Give feedback.
-
I ran into a similar issue before, and here’s what worked for me:
If it’s private, make sure you’re logged into the Azure registry:
Resource Limits: The shm_size: 2gb is good for processes that need more shared memory, but double-check if your Codespace has enough resources (RAM and CPU). If you suspect resource limits, try reducing the shared memory allocation temporarily:
Volumes Setup: Verify that the paths you’ve specified in the volumes section exist and are accessible:
For instance, ensure ../../ resolves correctly in the context of your setup. Privileged Mode: You’ve set privileged: true. While this is sometimes necessary, it can also cause issues in certain environments. If it’s not essential, try removing it and see if that helps. Logs for More Details: If the error persists, checking the container logs can provide more context. Use:
Network Check: Since this could also be network-related, ensure your Docker environment has proper access to external networks. For example, check your proxy settings if you’re behind one. Sometimes, these errors are temporary, so retrying the build after verifying the above can help. Let me know how it goes, and I’ll be happy to help troubleshoot further if needed! |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Bug
Body
I am currently trying to switch a codespace devcontainer to dockercompose. the devcontainer works when I run it locally, but it does not work yet with github codespaces. The issue is that the prebuild does not succeed. I tried playing around with the docker buildkit options as I found this issue, but so far no luck.
During the prebuild, I get the following error:
Beta Was this translation helpful? Give feedback.
All reactions