Skip to content

label:question on requirement privileges  #2

@devrob20

Description

@devrob20

hi there, am following your YT meetup demo,

i have question about setting the group and user, i see you set it as ID number, whats group and user 9000 relate to in this case ? (and how would someone find it out)

RUN chown -R 9000:9000 storage && \

is it mandatory still to use the GID and UID instead of the names ?

and you dont need to do a ?

RUN useradd -r -u 9000:9000 -g someappuser someappuser

in all the images (or only in the alpine distro image) ?

and for documentation and central configurations, can you use the .env file to get/set these variables and then use things like ${GROUP_SOMEUSER} commands in Dockerfile, like you can in yml ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions