This repository builds and publishes Docker images for three AI agent CLIs:
claudecodexgemini
Images are published on Docker Hub under:
docker.io/binarycodes/claude-localdocker.io/binarycodes/codex-localdocker.io/binarycodes/gemini-local
Each agent has the following tagged image variants:
pythonjdk-8jdk-11jdk-17jdk-21jdk-25jdk-lts(currently JDK 21)jdk-latest(currently JDK 25)
docker run --rm -it docker.io/binarycodes/claude-local:pythondocker run --rm -it docker.io/binarycodes/codex-local:pythondocker run --rm -it docker.io/binarycodes/gemini-local:pythondocker run --rm -it \
-v "$PWD:/workspace" \
-w /workspace \
docker.io/binarycodes/codex-local:pythonUse a Java variant:
docker run --rm -it docker.io/binarycodes/codex-local:jdk-ltsAdd to your shell rc file such as ~/.bashrc or ~/.zshrc
agent() {
[[ $# -ne 3 ]] && { echo "usage: agent <tool> <variant> <project_path>"; return 1; }
local tool="$1"
local variant="$2"
local project_path="$3"
docker run --pull always --rm -it \
-v "${tool}_home:/home/agent" \
-v "${project_path}:/workspace" \
-w /workspace \
"docker.io/binarycodes/${tool}-local:${variant}"
}Example:
agent codex python "/path/to/workspace"Build all default targets:
docker buildx bakePrint the resolved build plan:
docker buildx bake --print