Hi,
I noticed that the current setup with the Dockerfile cognite/db-extractor-base runs the extractor as the root user within the container.
In our use case, we have to heavily modify the Dockerfile to change the setup so that it runs as a non-root user. It would be highly beneficial if the Docker image either accepted an argument to run as a non-root user or, preferably, ran the script as a non-root user by default. Running containers as the root user is not best practice for containerized development and is often restricted in organizational environments.
I'm not sure if there is an intentional reason for running as root, or if this aspect hasn't been considered yet at Cognite.
If you are open to changing this, I can assist and provide our current solution. I believe this adjustment would improve security and compatibility for multiple users.
Best regards,
Matias Ramsland,
matias.ramsland@akerbp.com
Check the
documentation
Ask the
Community
Take a look
at
Academy
Cognite
Status
Page
Contact
Cognite Support