Skip to content

a user different than "root" is required #93

@madbob

Description

@madbob

I've just used this Docker configuration to deploy a Lizmap instance (thanks!) but I would really recommend to explicit in the documentation to use a non-root user to execute it, or at least advice about manually setting a proper value to LIZMAP_UID and LIZMAP_GID in configure.sh.

Trying to run as root, the instance results always as "unhealthy". docker logs highlights the error

groupmod: GID '0' already exists

from which I desumed that some step of the Compose (not really clear which one...) tries to create a group with GID = 0, which always exists by default.

Creating a dedicated lizmap user and starting over the whole procedure, it worked with no errors.

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