Skip to content

    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.

    • A Linux host with distrobox and a container engine (Docker or Podman).
    • Plain Docker also works for one-off CLI use (see below).

    Prefer an immutable cli-<release> tag for a stable environment; the example uses cli-latest for convenience:

    Terminal window
    distrobox create --image ghcr.io/forgeguard-ai/hermes-agent:cli-latest --name hermes
    distrobox enter hermes
    hermes # 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 ~/.hermes and survives container recreation and image upgrades.
    • hermes is on PATH via a launcher shim; /etc/profile.d/hermes.sh exports 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-packages on first use — so, for example, hermes gateway run for Telegram works, it just fetches that adapter once.
    Terminal window
    docker run -it --rm \
    -v ~/.hermes:/root/.hermes \
    ghcr.io/forgeguard-ai/hermes-agent:cli-latest
    Terminal window
    distrobox enter hermes -- hermes doctor

    hermes doctor reports environment issues; a clean run confirms the CLI image is wired up correctly.

    Recreate the box from a newer tag — your ~/.hermes state is untouched:

    Terminal window
    distrobox rm hermes
    distrobox create --image ghcr.io/forgeguard-ai/hermes-agent:cli-<newer-release> --name hermes
    • 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.