mkloubert/codex-docker-env: A template for any kind of project that runs OpenAI's Codex in a safe Docker Compose environment.
github.com·17h
📦Cargo
Preview
Report Post

Codex Docker Environment Template

A hardened Docker/devcontainer setup for running OpenAI’s Codex CLI with predictable tooling, locked-down permissions, and resource quotas. Drop it into any repository to spin up an isolated workspace that still has everything you need (git, zsh, gh, fzf, delta, etc.) to collaborate with Codex comfortably.

Why this exists

  • Keep Codex sessions contained: only the project folder is mounted and Linux capabilities are dropped.
  • Provide a consistent toolbox: Node.js 20 base image plus common CLI utilities and Zsh defaults.
  • Make auth easy but safe: a loopback-only socat sidecar forwards the Codex port so the CLI can talk to OpenAI without exposing extra surfaces.
  • Encourage reproducibility: ship the…

Similar Posts

Loading similar posts...