-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Description
Issue:
I am unable to configure sandbox usage in my environment.
- Is it possible to set the user to be used for launching the chrome browser? I'd like to run my server with a higher privileged user but the browser with a non-privileged user
- Perhaps there is a way to create a sandbox for my root user? However, I've heard that chrome will not launch this way (https://crbug.com/638180)
- Any suggestions as to how I can set this up given my environment below?
Env
- express server using playwright to parse external websites running in docker container
- I've used your dockerfile as the base for creating my image with some variations
- other packages are installed including my server package
- I start my server using pm2 as a launcher. The server itself is what uses playwright
- I have disabled the non-privileged user step in your dockerfile because the server needs to do privileged things (eg, I've commented out USER pwuser). As a result, I believe my chrome instance cannot find a sandbox
Thanks for all the hard work and the great library!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels