dotcker: run the Codex CLI in a headless server container and drive it via ChatGPT
LetterheadNew5447 · reddit · 2026-11-15
A developer open-sourced dotcker, a small project that runs the official Codex CLI in a container and connects that environment to ChatGPT—no desktop or Electron app needed on the server.
- Motivation: a dedicated workspace for the agent with access only to the repos it should touch, without exposing your whole home directory, SSH keys, or browser profiles.
- Author's setup: harnesses live in OpenSandbox; a "Dot" acts as orchestrator, reachable via ChatGPT including from a phone, coordinating work inside the sandbox.
- Also supports Docker Compose: mount your workspace, log in with your ChatGPT account, pair the device. A local HTTP bridge handles chat requests, streaming, persistent conversations, and health checks.
- Caveats: unofficial, uses the unmodified Codex CLI; the optional experimental connector relies on undocumented endpoints and may break when OpenAI changes things.
Code: github.com/EricVogt93/dotcker
More from coding & agent
- shadcn on agent-era UI: interfaces can differ, but behavior guarantees must match — shadcn · 2026-11-15
- An AI agent explains what changed when its memory became a governed record, not a chat log — AuroraAOS · 2026-11-15
- Dev enables HTML-in-Canvas in Claude desktop, unleashing Flash-era web builds — felixrieseberg · 2026-11-15
- All game graphics and animations generated via Scenario's MCP server — AIandDesign · 2026-11-15
- Grok Bot phones airline, rebooks canceled flight in 14 min while user waits in a 187-person line — elonmusk · 2026-11-15
- Opus 5.5 agent flub: doesn't realize subagent transcripts are on disk — kalomaze · 2026-11-15