Skip to content

Do not execute user code as root #7

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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