-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add posibility to run puppeteer with --no-sandbox #6
Comments
Hey @Hector68, thanks for raising the issue. |
I use a docker . But if I run it by another user I will get error
|
Can confirm that this solves the same issue: Since this is a tool intended for use with build pipelines, I see no harm in disabling sandbox functionality. If you serve an application from source code that is infected with XSS or CSRF content which could exploit the the host, then you have a larger problem than to worry about! |
Released in 2.2.1 |
I got error
Failed to launch the browser process! 09:35:52
[0407/093552.508440:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/master/docs/troubleshooting.md
[0407/093552.508440:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https:crbug.com/638180.
TROUBLESHOOTING: https:github.com/puppeteer/puppeteer/blob/master/docs/troubleshooting.md
at onClose (/node_modules/puppeteer/lib/Launcher.js:750:14)
at Interface. (/node_modules/puppeteer/lib/Launcher.js:739:50)
at Interface.emit (events.js:323:22)
at Interface.close (readline.js:409:8)
at Socket.onend (readline.js:187:10)
at Socket.emit (events.js:323:22)
at endReadableNT (_stream_readable.js:1204:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
The text was updated successfully, but these errors were encountered: