I own an instance at Oracle Cloud that is running on ARM64 platform. I try to run the headless Chrome Docker instance, but it always fails.
What did I do:
- Built a docker image
- Wrote a small JS snippet that uses the Puppeteer to make screenshots
- Ran all the things together against
https://example.comin order to get the screenshot.
What goes wrong: Every time, when the code tries to launch the headless version of Chrome, it fails. Either with an explicit "Segmentation fault" or with more sophisticated "Received signal 11 SEGV_ACCERR 0041b4601000".
Looks like, no version of Chrome/Chromium that is ready to be launched on ARM64 platform exists.
What I tried:
- Alpine Linux from scratch
- Alpine Linux with preinstall NodeJS environment
- Ubuntu Linux
- Ubuntu Linux with the installation through
dpkg -i
The question:
Do you know a way to run the headless Chrome/Chromium inside of an ARM64-based docker instance?