Running in Docker
The image runs gonogo as user node (uid 1000, so bypassPermissions works: it refuses root) on Debian bookworm, with git, tini, gh, the Docker CLI client, Claude Code 2.1.325 and gonogo.
Build from a clone (the Dockerfile is not in the npm package) and run:
docker build -t gonogo:0.1.0 .
docker run -d --name gonogo --init -p 127.0.0.1:7777:7777 -e CLAUDE_CODE_OAUTH_TOKEN \
-v gonogo-state:/state -v gonogo-home:/home/node -v gonogo-projects:/projects gonogo:0.1.0
docker logs gonogodocker logs shows the gonogo ready: URL and the setup token (first run). Anyone who can read the log can set up or open gonogo and run agents as you: if logs are collected, keep them out (docker run --log-driver none keeps none at all). On an install without an account the URL holds the browser token; it never rotates on its own. Read it from the volume, or rotate it (the old URL stops working):
echo "http://127.0.0.1:7777/#token=$(docker exec gonogo cat /state/gonogo/token)"
docker exec gonogo rm /state/gonogo/token && docker restart gonogoSet one credential: CLAUDE_CODE_OAUTH_TOKEN (from claude setup-token) or ANTHROPIC_API_KEY; -e NAME forwards it from your shell. Both set: the API key wins, with a warning.
| Topic | What to know |
|---|---|
| Port | Binds 0.0.0.0 inside but prints 127.0.0.1:7777; with -p 127.0.0.1:8080:7777 open it with 8080 |
| Environment, command, health check, stopping, pinning the base image | Configuration |
Seed mode, who runs as whom, docker exec | Security. Use docker exec -u node ... for gh auth login |
| Update | With the socket mounted (compose does) and a moving tag, Update pulls and recreates the container with a health check, rollback and UNDO; otherwise the page shows docker compose pull && docker compose up -d, or calls GONOGO_UPDATE_HOOK (Update) |
| Rooms | One front port, one process per room (Rooms); docker compose exec gonogo gonogo rooms add <id>. gonogo reload is refused in Docker |
Volumes
/state: gonogo's home and Claude Code's configuration and sessions./home/node: HOME. gh login,~/.gitconfig,~/.awsand other dotfiles survive a new container only if this is a volume. To keep yours, copy~/.config/gh,~/.aws,~/.gitconfigintogonogo-data/homebefore the firstdocker compose up, owned by uid 1000 (compose from 0.5.x:gonogo-data/config/ghgoes togonogo-data/home/.config/gh,config/gitconfigtohome/.gitconfig)./projects: the boss's directory and your projects. A host folder must belong to uid 1000 or agents cannot write there:mkdir projects && sudo chown 1000:1000 projects docker run ... -v "$PWD/projects":/projects ...Not
--user $(id -u):$(id -g)(/stateand HOME become unwritable). gonogo warns at start when the home or boss directory is not writable. Git refuses a repository owned by another uid (dubious ownership) except one mounted at/projectsitself.
Clean Room in the container
compose.yaml runs gonogo with the host's Docker socket mounted, so Clean Room consoles start on the host's Docker.
DANGER
The mounted socket gives the gonogo container root over the host. Any agent in it, Clean Room or not, can start a container that mounts the host's /, in bypassPermissions without asking. Use it only where you would let those agents run as root.
sudo install -d -o 1000 -g 1000 gonogo-data gonogo-data/projects gonogo-data/home # next to compose.yaml
printf 'GONOGO_DATA=%s\nDOCKER_GID=%s\n' "$PWD/gonogo-data" "$(stat -L -c %g /var/run/docker.sock)" > .env
export CLAUDE_CODE_OAUTH_TOKEN=... # or ANTHROPIC_API_KEY, never both
docker compose up -d # pulls ghcr.io/ulm0/gonogo:latest (amd64, arm64), restart: always
docker compose logs gonogoUpdate: docker compose pull && docker compose up -d (own build: tag it ghcr.io/ulm0/gonogo:latest first). Every compose command stops without GONOGO_DATA. Paths, network and socket details: Clean Room.