Comments (9)
Hi @robertsupport @gecube 👋
Thanks for the report 👍
I've tried these different command lines and it's working as expected:
- ✅
docker run -it --rm --entrypoint "" zenika/alpine-chrome cat /etc/alpine-release
- ✅
docker run -it --rm --entrypoint "" zenika/alpine-chrome chromium-browser --version
- ✅
docker container run -u`id -u $USER` -it --rm -v $(pwd):/usr/src/app zenika/alpine-chrome --no-sandbox --screenshot --hide-scrollbars --window-size=412,732 https://www.chromestatus.com/
- ✅
docker container run -it --rm --security-opt seccomp=$(pwd)/chrome.json zenika/alpine-chrome --no-sandbox --screenshot --hide-scrollbars --window-size=412,732 https://www.chromestatus.com/
Please notice that passing no argument will do nothing with this image. It just starts a Chrome, closes it and exits.
The first error seems normal because Chrome is using sandboxing by default. Please read this. I reproduced the error but it's normal.
The second error with no-sandbox
doesn't seem a real problem because GPU is disallowed.
Last point, please use the issue template next time to fill an issue and give more feedback (see here).
Is it similar to #30? Can you explain what do you want to do with this image?
from alpine-chrome.
docker container run -d -p 9222:9222 zenika/alpine-chrome --no-sandbox --remote-debugging-address=0.0.0.0 --remote-debugging-port=9222 https://www.chromestatus.com/
Container up with this command =)
from alpine-chrome.
@jlandure Thanks. The new instructions are much more clear and I managed to get the capture of the website 👍
from alpine-chrome.
The same
from alpine-chrome.
For your information, you can also read this troubleshooting section on Puppeteer if you're using a sandbox Chrome.
from alpine-chrome.
Hi @robertsupport 👋
Any news for your problem? Did you get the expected result? 👍
from alpine-chrome.
Hey @gecube Thanks for your feedback! 👌
from alpine-chrome.
@all-contributors please add @gecube @robertsupport for bug
from alpine-chrome.
I've put up a pull request to add @gecube! 🎉
from alpine-chrome.
Related Issues (20)
- Arm64 cpu startup card is stuck, Unable to use HOT 4
- Please add tzdata
- Node 18 now LTS HOT 2
- pulseaudio can't install in 102-with-puppeteer-xvfb HOT 1
- Chrome fails to load web page and crashes due to net::ERR_INSUFFICIENT_RESOURCES HOT 3
- Failed to write file pdf: No such file or directory (2) when using `print-to-pdf` HOT 1
- Support --headless=new HOT 3
- zenika/alpine-chrome:100-with-puppeteer has segmentation fault during apk-upgrade HOT 2
- [Help-Wanted] How to run chrome in docker like `jlesage/firefox`
- R2Devops ❤️ zenika/alpine-chrome ! HOT 1
- WebGL not work as expected HOT 2
- How to configure supported locales for Intl apis
- cannot install alpine packages HOT 1
- Bun Support HOT 2
- Publish images to ghcr.io as well HOT 1
- How can I have/build a version of zenika/alpine-chrome:with-puppeteer for armv7? HOT 3
- Chrome hangs when taking a screenshot of a page with a large image HOT 3
- When using zenika/alpine-chrome:with-chromedriver docker image then in GitLab CI ChromeDriver was started successfully. is display but it get stuck and do nothing HOT 9
- Unable to load some pages(GPU crash) HOT 1
- Puppeteer version out of sync with Chromium
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alpine-chrome.