Skip to content

[Bug]: HERMES_UID & HERMES_GID are not used in Docker #12696

@mmartial

Description

@mmartial

Bug Description

HERMES_UID and HERMES_GID are not used by Docker.

Steps to Reproduce

  1. docker run -e HERMES_UID=1000 nousresearch/hermes-agent

Expected Behavior

The hermes user would have changed to 1000

Actual Behavior

The hermes user is still 10000

Affected Component

Other

Messaging Platform (if gateway-related)

No response

Debug Report

N/A

Operating System

Ubuntu 24.04 w/ Docker

Python Version

No response

Hermes Version

Docker built from source

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

Apparently, this happened yesterday in a828daa
The original working solution was from fee0e0d

Proposed Fix (optional)

Re-add USER root before start of entrypoint.sh

Already submitted a PR
#12623

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions