chromium crashes on Docker on Mac M1
Anyone tried to run Crawlee in Docker on MacBook Pro M1?
When I run container I get warning:
The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 0.0sThen when inside container I run Crawlee, then when it tries to run Puppeteer I get:
WARN PuppeteerCrawler: Reclaiming failed request back to the list or queue. Failed to launch the browser process!
[0215/102520.399764:ERROR:stack_trace_posix.cc(711)] Failed to parse the contents of /proc/self/maps
[0215/102520.876388:ERROR:stack_trace_posix.cc(711)] Failed to parse the contents of /proc/self/maps
[0215/102520.879290:ERROR:stack_trace_posix.cc(711)] Failed to parse the contents of /proc/self/maps
[0215/102520.905387:FATAL:zygote_main_linux.cc(162)] Check failed: sandbox::ThreadHelpers::IsSingleThreaded().
...Seems I'm using incorrect image.
My Dockerfile is standard file generated by Crawlee template and starts with probably good image:
FROM apify/actor-node-puppeteer-chrome:16 AS builder
...Anyone was able to start Crawlee with Puppeter in Docker on Mac M1? ;]
Cheers
GT
