pdf-generator-service
pdf-generator-service copied to clipboard
Can't run the container image without --privileged flag
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:
- Open the terminal and type
docker run -p 3000:3000 quay.io/isneezy/pdf-generator-service
- 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