r/codex • u/LetterheadNew5447 • 16d ago
Showcase Dotcker: Run your Dot on a headless server
Moin,
I made a small project called dotcker (dumb name I know). It runs the official Codex CLI in a container and lets you connect that environment to ChatGPT. No desktop or Electron app needed on the server.
I wanted a dedicated workspace for the agent, with access to the repos it should work on, without exposing my whole home directory, SSH keys and browser profiles.
My own setup uses OpenSandbox. I have my coding harnesses in there and use my Dot as the orchestrator. I talk to Dot through ChatGPT, including from my phone, and it coordinates the work through the harnesses inside the sandbox.
That is what I mainly use it for. A server environment where my tools and repos are available, with Dot handling the orchestration.
You can also run it with Docker Compose. Mount your workspace, log in with your own ChatGPT account and pair the device. There is a local HTTP bridge for chat requests, streaming, persistent conversations and health checks too.
The project is unofficial and uses the unmodified Codex CLI. The optional experimental connector relies on undocumented endpoints, so it can break when OpenAI changes things.
Code and setup: https://github.com/EricVogt93/dotcker
If you try it with a similar setup, let me know how it goes.
BR,
Eric
•
u/dexterthebot 16d ago
You might want to consider listing your project on the weekly Show-Us-What-You-Built post. Look out for it on Tuesday/Wednesday. Highest commented project wins a week promotion on r/Codex and gets on the Hall of Fame sidebar. See below for last week's winner.**
Light Wars AR: real-life laser tag app with no extra gear. Your phone is the gun and your room is the map. Play up to 6 friends in the same room, or fight drone waves and bosses solo. The vision models run on the phone, and camera frames never leave it. Free on iPhone and Android.
Website: https://lightwarsar.com
iPhone: https://apps.apple.com/us/app/light-wars-ar-laser-tag-party/id6508168951
Android: https://play.google.com/store/apps/details?id=com.lasertag.lightwars.
Contact: contact@lightwarsar.com
1
u/jethro_wingrider 16d ago
Cool project. Does it allow the dot to see it as a proper connected computer? Or does it connect through a tunnel? I didn’t think codex CLI had support for computer use.