Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
OriginalEveres opened this issue May 11, 2024 · 2 comments
Open
Labels
help wanted Extra attention is needed

Comments

@OriginalEveres
Copy link

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 OriginalEveres changed the title Apple M1 docker platform issue Apple M1 docker platform issue (Multi-platform image is missing) May 11, 2024
@gosom
Copy link
Owner

gosom commented Oct 12, 2024

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

@gosom gosom added the help wanted Extra attention is needed label Oct 20, 2024
@fexd12
Copy link

fexd12 commented Oct 25, 2024

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants