ShadowClone icon indicating copy to clipboard operation
ShadowClone copied to clipboard

[Documentation] Apple Silicon Users

Open vysecurity opened this issue 2 years ago • 6 comments

Installation Notes for Passerby Apple Silicon Users

You may have noticed that the build breaks at lithops runtime build sc-runtime -f Dockerfile. Documenting this information here so that others can get it installed properly.

brew install [email protected]

Modify Dockerfile references:

FROM

to

FROM --platform=linux/amd64

Run the build:

lithops runtime build sc-runtime -f Dockerfile

vysecurity avatar May 01 '23 13:05 vysecurity

I got this error after running the build : lithops runtime build sc-runtime -f Dockerfile

Screen Shot 2023-05-04 at 12 24 49 AM

abdilahrf avatar May 03 '23 17:05 abdilahrf

This is exaxctly what I am coming accross.

image

masonhck357 avatar May 04 '23 00:05 masonhck357

I don't have a Apple M1 machine so no idea really. @vysecurity any idea what these errors could be?

fyoorer avatar May 04 '23 00:05 fyoorer

Is your Docker set up correctly on M1? There's an experimental feature to use the faster version of x64 if I recall. Maybe it's that?

Docker Desktop-2023-05-05 at 10 04 05@2x

Note that using Rosetta is way faster than QEMU so there's no reason to go back anyway.

vysecurity avatar May 05 '23 01:05 vysecurity

I got this error after running the build : lithops runtime build sc-runtime -f Dockerfile

Screen Shot 2023-05-04 at 12 24 49 AM

Install and run the docker in your machine ;)

gustavorobertux avatar Jun 22 '24 22:06 gustavorobertux

@gustavorobertux I solve that by using linux machine, Apple Mac M1 Silicone docker is not working well this the docker build architecture.

abdilahrf avatar Jun 23 '24 13:06 abdilahrf