Skip to content

Container ​

ghcr.io/agent-deployment-co/bishop runs Bishop on Debian with Node 24, for linux/amd64 and linux/arm64. The image is the agent's shell as well as Bishop's, so it carries git, gh, ripgrep, jq, curl, ssh, and python3 alongside both harness SDKs. uv and uvx are there too, with CPython 3.14 already installed and on PATH as python3.14, since Debian's python3 is externally managed and won't let anything install into it.

Volumes ​

Two directories to persist. /data is the working directory, holding everything Bishop writes:

/data/.bishop/config.json    configuration
/data/.bishop/agents/        cloned agents, when --agent is a git URL
/data/.bishop/threads/       each thread's files, scratch files and session transcript
/data/bishop.db              the thread-to-session mapping

/home/node holds what the harnesses write outside a thread directory: their logins, and the session transcripts of threads on a login or from before thread directories. With ANTHROPIC_API_KEY, CLAUDE_CODE_OAUTH_TOKEN or CODEX_API_KEY set, a new thread keeps its transcript in /data/.bishop/threads instead. A home directory that dies with the container leaves every thread whose transcript was there asking for one the harness no longer has. Mount it or lose those conversations on the next deploy.

Bishop runs as uid 1000 and needs to write both volumes. On Kubernetes that means a fsGroup in the pod's security context, or volumes already owned by 1000.

Running it ​

Credentials go in the environment rather than a .env file:

sh
docker run -d --name bishop \
    -v bishop-data:/data -v bishop-home:/home/node \
    -e BISHOP_SLACK_BOT_TOKEN -e BISHOP_SLACK_APP_TOKEN \
    -e ANTHROPIC_API_KEY \
    -e GIT_CONFIG_COUNT=2 \
    -e GIT_CONFIG_KEY_0=user.name -e GIT_CONFIG_VALUE_0="Agent" \
    -e GIT_CONFIG_KEY_1=user.email -e GIT_CONFIG_VALUE_1="[email protected]" \
    ghcr.io/agent-deployment-co/bishop \
    --agent https://github.com/you/your-agent.git --auto-update

The entrypoint is bishop, so arguments after the image are its flags, and any other command works the same way:

sh
docker run --rm -v bishop-data:/data ghcr.io/agent-deployment-co/bishop gc

Set a git identity, as above, or the agent can't commit what it does in a worktree. GIT_CONFIG_COUNT reaches every snapshot and worktree Bishop creates, which a git config run in one directory doesn't.

Setup commands ​

Setup commands that need a browser or a terminal, like bishop slack setup and bishop gmail setup, are meant to be run on a laptop. Carry the tokens they produce to the container as environment variables, and the .bishop/config.json they write into the /data volume.

Tags ​

latest and sha-<commit> from main, plus <version> and <major>.<minor> for each release.

Sandbox ​

The image includes nono, so the sandbox works in it. The host kernel needs Landlock (5.13 or later), and the container's seccomp profile has to allow the landlock_* system calls. Current Docker's default does. If either is missing, Bishop refuses to start with the sandbox on.

Docker Desktop on macOS can't run the sandbox. Its Linux VM kernel is built without Landlock, so nono can't confine anything and Bishop refuses to start with the sandbox on. Run a sandboxed container on a Linux host, or install Bishop on the Mac itself, where nono uses macOS's own sandbox.

Bishop's home is /data, so the agent has to live somewhere else: a git URL, as in the example above, or a directory mounted outside /data. nono profiles go in /home/node/.config/nono/profiles/, on the home volume. bishop nono setup writes one there and turns the sandbox on in /data/.bishop/config.json:

sh
docker run --rm -v bishop-data:/data -v bishop-home:/home/node \
    ghcr.io/agent-deployment-co/bishop nono setup

nono's defaults don't reach /opt or ~/.cache. A sandboxed agent can't run the image's python3.14 or install anything with uv until the profile adds "/opt/uv" to its filesystem.read list and "$HOME/.cache/uv" to filesystem.allow.