Documentation about puppeteer in Docker only works on x86_64
See original GitHub issueSteps to reproduce
Tell us about your environment:
- Puppeteer version: none
- Platform / OS version: yes.
- URLs (if applicable): https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md#running-puppeteer-in-docker
- Node.js version: all of them
What steps will reproduce the problem? Visit https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md#running-puppeteer-in-docker, notice the following line:
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
&& apt-get update \
&& apt-get install -y google-chrome-unstable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst ttf-freefont \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
in particular, notice this:
sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
This does not work on ARM ([arch=amd64]
), though this is mentioned nowhere in the documentation.
What is the expected result? The documentation makes clear that this only works on x86_64, or, even better, the documentation gives instructions for puppeteer in docker on ARM.
What happens instead? The documentation is incomplete.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5
Top Results From Across the Web
Node.js + Puppeteer on Docker, No usable sandbox
Yes, It should work, if this is a puppetteer functionality, as this method only enables sandbox for launched browser. Anyway I suggest using ......
Read more >Troubleshooting - Puppeteer
Getting headless Chrome up and running in Docker can be tricky. The bundled Chromium that Puppeteer installs is missing the necessary shared library ......
Read more >Docker frequently asked questions (FAQ)
The Docker platform runs natively on Linux (on x86-64, ARM and many other CPU ... so new versions of a container can be...
Read more >What will happen running x86-64 & ARM-based Docker ...
In this video, we will discuss What will happen running x86-64 & ARM-based Docker containers in Apple M1?
Read more >How to use Puppeteer inside a Docker container
Introduction Puppeteer is a Node.js library which provides a high-level API ... the necessary libs to make the browser work with Puppeteer.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
What’s the situation now that Apple switched to ARM? Any chance we’ll be able to run Puppeteer on a Docker container on Apple Silicon?
We’re marking this issue as unconfirmed because it has not had recent activity and we weren’t able to confirm it yet. It will be closed if no further activity occurs within the next 30 days.