Closed Sispheor closed 3 years ago
Another user ran into this, see: https://github.com/mendhak/docker-http-https-echo/issues/14#issuecomment-733965621
I am not familiar with OpenShift or k8s. Does the securityContext bit work for you?
securityContext:
runAsUser: 1000
Basically the way I test it is like this: https://github.com/mendhak/docker-http-https-echo#run-as-a-non-root-or-rootless-user
Actually, the best practice is to avoid running things as root when we can. And adding specific security context can be complicated on public cluster. On openshift it's even not possible at all to run a root container.
Thanks for the PR it's merged now.
Can you try it, mendhak/http-https-echo:15
All good thanks.
Hi, the last image is not working anymore on Openshift 4.
Here is the deploymentConfig I use (Ansible code)
I tried as well with the "issue-14-non-root" tag.