Split config and session state directories via env var to enable RO Docker mount of ~/.codex

Resolved 💬 3 comments Opened Jan 1, 2026 by ardigan6 Closed Feb 23, 2026

What feature would you like to see?

Currently, CODEX_HOME stores both configs and session state.

What we want is to mount CODEX_HOME read-only in our docker dev env, and tell codex to write state to SESSION_HOME set to /tmp.

Instead, the most obvious answer is to copy files into the container on build, which is both bad practice and less flexible.

Additional information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗