Skip to content

[Bug]: Hopefully, the Docker deployment method can allow changing permissions. Currently, Hermes running in Docker cannot install plugins or its own skill packages. #17636

@TemplarSr

Description

@TemplarSr

Problem or Use Case

I'm currently running Hermes in a Docker container. When I try to install the Hindsight memory plugin, I get the following error:

⚡ root@nanopi-r6s  ~  docker exec -it -u hermes hermes /opt/hermes/.venv/bin/hermes memory setup

Installing dependencies: hindsight-client>=0.4.22
⚠ Failed to install hindsight-client>=0.4.22
error: Failed to install: hindsight_client-0.5.4-py3-none-any.whl (hindsight-client==0.5.4)
Caused by: Failed to create directory `/opt/hermes/.venv/lib/python3.13/site-packages/hindsight_client_api
Run manually: uv pip install --python /opt/hermes/.venv/bin/python3 hindsight-client>=0.4.22

The cause of this error is that the hermes user inside the Docker container does not have root permissions, while the .venv directory is owned by root. As a result, Hermes cannot install plugins. This is just one example — currently, Hermes deployed via Docker cannot use any features that require installing packages, including (but not limited to) memory plugins, knowledge bases, and skills. I hope the official team can provide a fix for this.

Proposed Solution

"I hope the official team can fix the Docker permission issue, or provide a feasible solution."

Alternatives Considered

No response

Feature Type

New tool

Scope

None

Contribution

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

Debug Report (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium — degraded but workaround existsarea/dockerDocker image, Compose, packagingsweeper:implemented-on-mainSweeper: behavior already present on current maintype/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