-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Additional Docker tips #1235
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
Additional Docker tips #1235
Conversation
|
|
||
| If you're seeing other weird errors when launching Chrome, try running the container | ||
| with `docker run --cap-add=SYS_ADMIN` when developing locally. Since the Dockerfile | ||
| adds a `pptr` user as a non-privileged user, it may not have all the necessary privileges. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add a reference to dumb-init here - it turned out there's a special treatment for the processes with PID=1, which makes it hard to terminate chrome properly.
Discussed here: #615 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great!, it took me a couple of days to get to the bottom of this issue a month ago (chrome not running properly on docker) and this is exactly what i did!
<3
|
@aslushnikov not sure why travis is unhappy. Looks like there's errors on |
|
Might also be a good idea to call out fonts as well. See a lot of issues regarding fonts/unicode characters either not rendering or showing up in a bizarre fashion. For instance, running: On https://try-puppeteer.appspot.com/, results in: |
|
Thanks. Going to merge this then. |
Fixes #809