Skip to content

security | runasuser mandates Dockerfile USER UID not name #56

@ReSearchITEng

Description

@ReSearchITEng

Current image cannot be used securely with runAsUser as the Dockerfile mentions a username instead of user id (UID).

More on: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/

the error k8s gives when trying to set runAsUser: 1001 is that it cannot guarantee the id to be really the specified one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions