Running default Playwright example on Docker (arm64)

Hi there, Thanks for the awesome work on Crawlee! I'm struggling at... the very beginning. I'm trying to execute the Playwright example on the actor-node-playwright-chrome:16 image, but it fails. I'm on a M1/arm64 machine but have tried to force amd64 with the same result. The stacktrace is huge but the relevant part seems to be here
INFO PlaywrightCrawler: Starting the crawl WARN PlaywrightCrawler: Reclaiming failed request back to the list or queue. browserType.launchPersistentContext: Browser closed. ==================== Browser output: ==================== <launching> ...Long argument list, ommited because Discord... <launched> pid=1475 [pid=1475][err] [0213/214515.303300:ERROR:stack_trace_posix.cc(726)] Failed to parse the contents of /proc/self/maps [pid=1475][err] [0213/214516.591544:ERROR:stack_trace_posix.cc(726)] Failed to parse the contents of /proc/self/maps [pid=1475][err] [0213/214516.770594:ERROR:stack_trace_posix.cc(726)] Failed to parse the contents of /proc/self/maps [pid=1475][err] [0213/214516.663350:FATAL:zygote_main_linux.cc(162)] Check failed: sandbox::ThreadHelpers::IsSingleThreaded().
I'm sure it's something stupid and obvious. Any help appreciated, thanks in advance.
1 Reply
dependent-tan
dependent-tanOP3y ago
Steps to reproduce:
npx crawlee create test-crawler cd test-crawler docker build -t test-crawler-image . docker run test-crawler-image
Tested on 2 different Mac M1 with the same result (see stacktrace on previous post). I assume that Crawlee doesn't work on arm64 through Apify Docker images since none (at least with Playwright) has the right target platform, but could someone confirm that?

Did you find this page helpful?