Управление s6-overlay сервисами в Docker-контейнере

★ 7.1 · devops

hermes-s6-container-supervision is a Claude Code skill that helps modify and debug s6-overlay services inside the Hermes Docker image. It covers the full supervision lifecycle: adding or removing static services in `/etc/s6-overlay/s6-rc.d/`, diagnosing per-profile gateway startup failures across `docker restart`, tracing the container boot sequence through `cont-init.d` scripts and `main-wrapper.sh`, and managing runtime slot registration in `/run/service` via `S6ServiceManager`. Key files documented include `entrypoint-dispatch.sh`, `stage2-hook.sh`, `container_boot.py`, and `service_manager.py`. The skill also explains the architectural decision to run the main Hermes process as a CMD rather than a supervised s6-rc service — a consequence of real s6-overlay v3 limitations around exit-code propagation and argument passing in cont-init.d. Intended for engineers working on Hermes Agent container infrastructure on Linux.