Giter Club home page Giter Club logo

Comments (9)

jlandure avatar jlandure commented on August 23, 2024 5

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.

tenzinleshy avatar tenzinleshy commented on August 23, 2024 3

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.

gecube avatar gecube commented on August 23, 2024 1

@jlandure Thanks. The new instructions are much more clear and I managed to get the capture of the website 👍

from alpine-chrome.

gecube avatar gecube commented on August 23, 2024

The same

from alpine-chrome.

jlandure avatar jlandure commented on August 23, 2024

For your information, you can also read this troubleshooting section on Puppeteer if you're using a sandbox Chrome.

from alpine-chrome.

jlandure avatar jlandure commented on August 23, 2024

Hi @robertsupport 👋
Any news for your problem? Did you get the expected result? 👍

from alpine-chrome.

jlandure avatar jlandure commented on August 23, 2024

Hey @gecube Thanks for your feedback! 👌

from alpine-chrome.

jlandure avatar jlandure commented on August 23, 2024

@all-contributors please add @gecube @robertsupport for bug

from alpine-chrome.

allcontributors avatar allcontributors commented on August 23, 2024

@jlandure

I've put up a pull request to add @gecube! 🎉

from alpine-chrome.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.