Running matchstick for testing The Graph on Mac M1

When you go through the steps for running matchstick on the github instructions I ran into issues.

Specifically I was getting the following error:

qemu-x86_64: Could not open '/lib64/': No such file or directory

Thankfully the Graph Discord is an incredibly helpful resource and learned that you need to rebuild the docker environment using the --platform linux/x86_64 flag. See below….

docker build --platform linux/x86_64 -t matchstick .

Now that is built, you can run

docker run -it --rm --platform linux/x86_64 matchstick 

and you should be fine.

1 comment

Leave a comment

Your email address will not be published. Required fields are marked *