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

Splash not supported on M1/M2 silicon chips #1187

Open
kulkarninidhii opened this issue Feb 6, 2024 · 4 comments
Open

Splash not supported on M1/M2 silicon chips #1187

kulkarninidhii opened this issue Feb 6, 2024 · 4 comments

Comments

@kulkarninidhii
Copy link

I was trying to run splash on my M2 silicon, but the v=3.5 is incompatible.
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

Using rosetta2 to emulate the environment also doesnt help.

Can splash be only run on linux/amd64 or by building a new image with new Dockerfile?

@lindafl0w
Copy link

I have the same issue... @kulkarninidhii have you found a solution yet?

@kulkarninidhii
Copy link
Author

No, I ended up using Playwright.

@Hossamster
Copy link

same issue, i did everything and it didn't work!

@Hossamster
Copy link

Hossamster commented Jun 11, 2024

Hello @kulkarninidhii @lindafl0w
I got the solution.
############

1. Install Homebrew (if not already installed):

Open Terminal and run the following command to install Homebrew:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

2. Install Colima:

Once Homebrew is installed, install Colima with:

brew install colima

##3. Start Colima with AMD64 Emulation:
Start Colima with x86_64 (AMD64) architecture support:

colima start --arch x86_64

4. Run the scrapinghub/splash Docker Image:

With Colima running, you can now run the scrapinghub/splash image. Pull and run the image using Docker:

docker run --rm -p 8050:8050 scrapinghub/splash

that's it, scrappers.
Regards,
Hossam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants