这是indexloc提供的服务,不要输入任何密码
Skip to content

Customizable UID-Setup in docker-compose.yml #1174

@DenisTahsinoglou

Description

@DenisTahsinoglou

The docker container runs default with UID 1000. In our environment and perhaps also on others, the first user created gets the UID 1000. Therefore the container runs with the permissions of this user on the host system.

To prevent this currently one has to create a Dockerfile from the beginning, as long as the root permissions are still active.

To have a developer friendly behaviour it would be preferable to configure the UID, GID and USER NAME in the docker-compose.yaml, so the Dockerfile is not needed.

If you have any questions feel free to ask.

Greetings
Denis

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions