Skip to content

Running Marquez container as non root user #3060

@ghacrow

Description

@ghacrow

I am currently in the process of deploying Marquez onto a GKE cluster using Helm. One of the security restrictions of the cluster is that containers cannot run as the root user.

I notice in the Dockerfile there is no USER command, and hence it is still being run as root.

I wanted to understand if you can forsee any issues with the container being executed as a non-root user, and the possibility of adding a USER command into the container. I am aware that sometimes running containers as non-root uses may not work due to some of the underlying code, hence wanted to ask.

Cheers!

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