Skip to content

Add Codex to devcontainer (#797) - #798

Merged
bedrich-schindler merged 1 commit into
masterfrom
task/797
Nov 26, 2026
Merged

bedrich-schindler merged 1 commit into
masterfrom
task/797

Conversation

@bedrich-schindler

@bedrich-schindler bedrich-schindler commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

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

  • Codex is installed as a standalone native build (pinned by CODEX_VERSION) outside of its data directory, so the new codex volume (~/.codex) holds only Codex data. The codex wrapper makes codex update work with that layout.
  • .codex/config.toml registers the chrome-host MCP server and makes Codex read the project instructions from CLAUDE.md (Codex reads AGENTS.md by default). Codex applies it only after you trust the project.
  • 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, and the container is the isolation boundary. User and project configuration can override it.
  • Docs: AI Integration, General Guidelines and the chrome-host README.

Existing docker-compose.yml must declare the codex volume: add the volume manually, or delete the file and run bash setup.sh to recreate it from docker-compose.yml.dist.

Closes #797

@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.2
Preview removed because the pull request was closed.
2026-11-26 20:09 UTC

@bedrich-schindler
bedrich-schindler merged commit eee60b4 into master Nov 26, 2026
14 checks passed
@bedrich-schindler
bedrich-schindler deleted the task/797 branch November 26, 2026 20:09

This branch was successfully deployed

1 active deployment
pr-preview/pr-798 — 0699daed Deployed Nov 26, 2026 by bedrich-schindler via Deploy PR Preview #185
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