I use Radicle with Lando and everything was working fine until yesterday. However, now I am unable to execute any commands on the appserver service. When I try to run commands such as “lando login,” “lando acorn,” or “lando flush,” I receive the error message “Segmentation fault.”
I have attempted to fix the issue by increasing Docker memory and swap, as well as removing everything with the command “lando poweroff && docker system prune -a --volumes && rm -rf ~/.lando/cache.” (Command found here: Purge all Docker Containers & Lando Cache · GitHub)
For your information, I am using a MacBook with an Arm M1 Pro.
The appservice container is using Rosetta to emulate amd64.
Does anyone have any suggestions on how to resolve this issue?
In summary, running Intel-based containers on Arm-based machines should be regarded as “best effort” only. We recommend running arm64 containers on Apple silicon machines whenever possible, and encouraging container authors to produce arm64, or multi-arch, versions of their containers.
Lando also say similar:
Note that Apple Silicon support is still a work in progress and YMMV.
A sure-fire solution would be to run native ARM containers. Is that possible with your setup? This Lando issue may help you.