Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set numeric user in Dockerfile to pass k8s runAsNonRoot policy #408

Closed

Conversation

aleksandr-vin
Copy link
Contributor

When in k8s, container has runAsNonRoot policy and image has non-numeric user (nobody), then the deployment will fail as it cannot verify user is non-root.

Closes #406

Signed-of-by: Aleksandr Vinokurov [email protected]

When in k8s, container has `runAsNonRoot` policy and image has non-numeric user (nobody), then the deployment will fail as it cannot verify user is non-root.

Closes prometheus#406

Signed-of-by: Aleksandr Vinokurov <[email protected]>
@aleksandr-vin aleksandr-vin deleted the aleksandr-vin-patch-1 branch November 16, 2021 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Container has runAsNonRoot and image has non-numeric user (nobody), cannot verify user is non-root
1 participant