Environment
- v0.15.1, dashboard webui (port 9119), running inside Docker
Symptom
Clicking "Update" in WebUI inside a Docker container shows raw output:
✗ `hermes update` doesn't apply inside the Docker container.
Hermes Agent runs as a published image ... [4 paragraphs of guidance]
The message text is excellent and points to the correct fix (docker pull && docker compose up -d --force-recreate). The issue is UX:
- Button is enabled inside Docker context where it cannot succeed
- Click triggers the CLI guard which exits non-zero → WebUI renders it as a generic error
Suggested fix
Detect Docker in /api/hermes/update endpoint (e.g. via /.dockerenv or the existing context detection used by the CLI guard) and either:
- Hide the button in Docker mode, OR
- Render a Docker-specific modal with copy-paste-ready commands instead of surfacing the SystemExit as an error.
Environment
Symptom
Clicking "Update" in WebUI inside a Docker container shows raw output:
The message text is excellent and points to the correct fix (
docker pull && docker compose up -d --force-recreate). The issue is UX:Suggested fix
Detect Docker in
/api/hermes/updateendpoint (e.g. via/.dockerenvor the existing context detection used by the CLI guard) and either: