-
Notifications
You must be signed in to change notification settings - Fork 386
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 error when running Earthly under a Rosetta VM on Mac M1 #3198
Comments
I've never seen this error message before, it might take some time before we can get to this.
Did you try using |
Yes, it appears to work fine:
Compared to Earthly:
I suspect the issue is perhaps related to DinD. Doesn't Earthly use it at some point? |
|
What's the easiest way to replicate this outside of Earthly? Run a dind image and then attempt to run the given Dockerfile in it? I'd love to remove Earthly as the potential problem here so I can file this issue more upstream. |
maybe try a |
Hitting the same error. In mycase my vms are in lima and running some cri-o integration tests which are all failing with similar error. |
I am hitting this when running Earthly on an M1 Mac that is using Orbstack instead of Docker Desktop:
|
For M1/M2/M3 (arm-based mac users); are you able to run amd64 docker images? For example, does
return |
perhaps more information can be pulled out of:
|
What went wrong?
I attempted to run Earthly on a x86 Ubuntu VM running on my M1 macbook. Sample Earthfile:
When running this target:
What should have happened?
I expected the target to run to completion (especially given it's simplicity).
Other Helpful Information
You can reproduce this on an M1 mac:
test
target from the previously given EarthfileIt's quite possible this is a bug in OrbStack, Docker, and/or Rosetta. However, creating an example Dockerfile with the below contents:
And then building it on the same machine has no issue. So, Earthly is doing something unique here that I cannot figure out. Perhaps if I understood it more I might be able to figure out exactly where the issue is.
The text was updated successfully, but these errors were encountered: