pdf-generator-service icon indicating copy to clipboard operation
pdf-generator-service copied to clipboard

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

Open isneezy opened this issue 1 year ago • 0 comments

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 avatar Jan 24 '23 13:01 isneezy