Skip to content

Add Codex to devcontainer (#71) - #72

Merged
bedrich-schindler merged 1 commit into
masterfrom
feature/codex
Nov 26, 2026
Merged

bedrich-schindler merged 1 commit into
masterfrom
feature/codex

Conversation

@bedrich-schindler

Copy link
Copy Markdown
Collaborator

Adds Codex as another AI coding assistant in the devcontainer, next to Claude Code, GitHub Copilot CLI and OpenCode.

  • Codex is a standalone native build pinned by CODEX_VERSION. It lives outside its data directory, so the new codex volume (~/.codex) holds only data. The codex wrapper makes codex update work with that layout.
  • Codex runs commands without its own sandbox (sandbox_mode = "danger-full-access" in /etc/codex/config.toml). Its Linux sandbox needs user namespaces, which Docker blocks by default, so the container isolates the commands instead. User and project configuration can override this.
  • .codex/config.toml registers the chrome-host MCP server and points Codex to the project instructions in CLAUDE.md, since Codex reads AGENTS.md by default. Codex applies it only after you trust the project.
  • Docs: AI Integration, Development Environment and the chrome-host README.

An existing docker-compose.yml must declare the codex volume. Add it under volumes: manually, or delete the file and run bash setup.sh to recreate it from docker-compose.yml.dist.

Closes #71

@bedrich-schindler
bedrich-schindler merged commit 28e46f4 into master Nov 26, 2026
9 checks passed
@bedrich-schindler
bedrich-schindler deleted the feature/codex branch November 26, 2026 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Codex to devcontainer

1 participant