google-maps-scraper
google-maps-scraper copied to clipboard
Apple M1 docker platform issue (Multi-platform image is missing)
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 I will need some help here because I am not a MacOS user
@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.