Skip to content
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

Can't run the container image without --privileged flag #432

Open
isneezy opened this issue Jan 24, 2023 · 0 comments
Open

Can't run the container image without --privileged flag #432

isneezy opened this issue Jan 24, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@isneezy
Copy link
Owner

isneezy commented Jan 24, 2023

Describe the bug
When I tried to run the containerized version of the web service, it fails with the following message:

Error: Failed to launch the browser process!
Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted


TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

To Reproduce
Steps to reproduce the behavior:

  1. Open the terminal and type docker run -p 3000:3000 quay.io/isneezy/pdf-generator-service
  2. See the error

Expected behavior
I'd expect that the container runs normally without any errors as before.

Screenshots
If applicable, could you add screenshots to help explain your problem?

Desktop (please complete the following information):

  • OS: Ubuntu 20.04.5 LTS

Additional context
The container successfully starts when run with --privileged

@isneezy isneezy added the bug Something isn't working label Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant