Distrobox / CLI image
Distrobox / CLI image
Section titled “Distrobox / CLI image”The cli-* image is a lean interactive build for distrobox (or plain
docker run -it): CLI, TUI, and browser tools, with no dashboard/gateway server
stack and no supervisor. Distrobox’s host-integration package set and a
pre-generated en_US.UTF-8 locale are pre-baked, so the first distrobox enter
is instant instead of running distrobox-init’s usual multi-minute dependency
install.
Images are published to ghcr.io/forgeguard-ai/hermes-agent.
Prerequisites
Section titled “Prerequisites”- A Linux host with distrobox and a container engine (Docker or Podman).
- Plain Docker also works for one-off CLI use (see below).
Install via distrobox
Section titled “Install via distrobox”Prefer an immutable cli-<release> tag for a stable environment; the example
uses cli-latest for convenience:
distrobox create --image ghcr.io/forgeguard-ai/hermes-agent:cli-latest --name hermesdistrobox enter hermeshermes # first run walks you through `hermes setup`Notes:
- Your home directory is shared with the container (distrobox’s default), so
Hermes state lands in your own
~/.hermesand survives container recreation and image upgrades. hermesis onPATHvia a launcher shim;/etc/profile.d/hermes.shexports the Playwright browser path and the lazy-install target for login shells.- The install tree (
/opt/hermes) is root-owned and read-only. Optional backends (messaging platforms, opt-in tool SDKs) are not baked in; Hermes lazy-installs them into~/.hermes/lazy-packageson first use — so, for example,hermes gateway runfor Telegram works, it just fetches that adapter once.
One-off use with plain Docker
Section titled “One-off use with plain Docker”docker run -it --rm \ -v ~/.hermes:/root/.hermes \ ghcr.io/forgeguard-ai/hermes-agent:cli-latestVerify
Section titled “Verify”distrobox enter hermes -- hermes doctorhermes doctor reports environment issues; a clean run confirms the CLI image
is wired up correctly.
Upgrade
Section titled “Upgrade”Recreate the box from a newer tag — your ~/.hermes state is untouched:
distrobox rm hermesdistrobox create --image ghcr.io/forgeguard-ai/hermes-agent:cli-<newer-release> --name hermesWhich variant do I want?
Section titled “Which variant do I want?”- Running a persistent agent a client connects to (Desktop Client Mode, web dashboard, messaging platforms, scheduled jobs)? Use the runtime image.
- Working interactively in a terminal on a Linux box and wanting host
integration without installing the full dependency stack on the host? Use this
cli-*image via distrobox.