SpecLad opened a new issue, #3135:
URL: https://github.com/apache/kvrocks/issues/3135

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/kvrocks/issues) and found no similar issues.
   
   
   ### Motivation
   
   I'm trying to ensure that all Docker images used in my project are 
compatible with the [`runAsNonRoot` 
option](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#securitycontext-v1-core)
 in Kubernetes security contexts. While the Kvrocks image is already configured 
to use a non-root user, Kubernetes doesn't support a string username 
specification in conjunction with this option (it shows a "container has 
runAsNonRoot and image has non-numeric user" error).
   
   ### Solution
   
   It would be useful if the Docker image was configured with a numeric UID 
instead (e.g. `USER 999`).
   
   ### Are you willing to submit a PR?
   
   - [x] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to