Hello, I'm reopening a new issue as #508 was closed while not solved.
Quoting the previous ticket:
I would like to know if it could be possible to allow using the user Docker directive, instead of only the environment variables.
Current configuration requires running the container as root, and then trust that it will switch to the specified UID/GID. This presents a security risk.
Could it be possible to allow the container to run as a non root? It was possible before version 0.13.
To be clear as maybe the previous ticket was not precise enough: the current way requiring PUID and PGID is not fitting those requirements, because it does not allow to run this container rootless.
To run the container without root permissions, the following command should work:
docker run -it --user 2000 frooodle/s-pdf:latest
Running this command with the two environment variables does not work either.
The Problem
Hello, I'm reopening a new issue as #508 was closed while not solved.
Quoting the previous ticket:
To be clear as maybe the previous ticket was not precise enough: the current way requiring
PUID
andPGID
is not fitting those requirements, because it does not allow to run this container rootless.To run the container without root permissions, the following command should work:
Running this command with the two environment variables does not work either.
Could it be possible to allow this container to run rootless?
Big thanks!
Version of Stirling-PDF
latest
Last Working Version of Stirling-PDF
0.13