What problem does it solve?
It helps you understand and troubleshoot how Hermes uses s6-overlay to supervise per-profile gateways and static services inside the Hermes Agent Docker image, especially when services fail to start, restart correctly, or behave unexpectedly after container restarts.
Core Features & Use Cases
- Explain the CMD-as-main-program architecture: clarifies how
/opt/hermes/docker/main-wrapper.sh interacts with /init under s6-overlay and why the container exit behavior differs from fully supervised setups.
- Guide static service and gateway troubleshooting: focuses on diagnosing missing or unstable per-profile gateway services in
/run/service/ and understanding the reconciliation behavior on each boot.
- Provide actionable container-level workflows: includes practical inspection, manual start/stop/restart operations, and how to interpret
container-boot.log results when reconciling profiles.
Quick Start
Use this skill to debug why a profile gateway service isn’t staying up by inspecting its s6 status in /run/service/gateway-<profile> and correlating behavior with the latest entries in /opt/data/logs/container-boot.log.