google-maps-scraper icon indicating copy to clipboard operation
google-maps-scraper copied to clipboard

Apple M1 docker platform issue (Multi-platform image is missing)

Open OriginalEveres opened this issue 1 year ago • 2 comments

while running the docker command

touch results.csv && docker run -v $PWD/example-queries.txt:/example-queries -v $PWD/results.csv:/results.csv gosom/google-maps-scraper -depth 1 -input /example-queries -results /results.csv -exit-on-inactivity 3m   

I've got

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

which could be fine, because it is only a warning, but I'm getting

playwright: target closed along with job finished with error.

I was able to run it by building it with go and running localy.

OriginalEveres avatar May 11 '24 21:05 OriginalEveres

@OriginalEveres I will need some help here because I am not a MacOS user

gosom avatar Oct 12 '24 14:10 gosom

@OriginalEveres instead used docker hub image, you can compile your own docker image. Just replace the env ENV GOARCH=amd64 to ENV GOARCH=arm64 on Dockerfile and build a new image with full compatible arm64 devices. its worked for me.

fexd12 avatar Oct 25 '24 12:10 fexd12