Skip to content

ERROR: This image should not be run with the --user Docker flag. Exiting... #25

@SunnyAureliusRichard

Description

@SunnyAureliusRichard

Hi,

Is there anyway to get rid of this?

Is the image running as root initially?

That's worrying.

# This image cannot be run with the --user flag
if [ "$(id -u)" -ne 0 ]; then
    echo "ERROR: This image should not be run with the --user Docker flag. Exiting..."
    exit 1
fi

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