Skip to content

Do not execute user code as root #7

@lorenzleutgeb

Description

@lorenzleutgeb

Lorenz Leutgeb: Jakob, regarding r00t in docker. Is setting User to nobody (and dealing with permissions) here a viable fix: https://godoc.org/github.com/fsouza/go-dockerclient#Config ?
Jakob Englisch: no, we should add "USER nobody" in the container, to switch there before entering the entrypoint, user in this config is only used if we also use a command, and switching user should be part of the template

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions