Skip to content

[Bug]: Cannot create home directory: Permission denied #18482

@constgen

Description

@constgen

Bug Description

Just trying to start minimal viable container with custom HOME but get an error

Image

What am I doing wrong?

Steps to Reproduce

Docker compose file

services:
  hermes:
    image: nousresearch/hermes-agent:v2026.4.30
    container_name: hermes
    environment:
      - HERMES_HOME=/home/hermes/.hermes

Expected Behavior

Container should start and create a custom home directory in the defined path

Actual Behavior

Container fails with error

mkdir: cannot create directory '/home/hermes': Permission denied

user: 0:0 doesn't help

Affected Component

Setup / Installation

Messaging Platform (if gateway-related)

No response

Debug Report

Impossible

Operating System

Official Docker image

Python Version

No response

Hermes Version

No response

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

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

    P2Medium — degraded but workaround existsarea/dockerDocker image, Compose, packagingtype/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