Codex CLI in gVisor
OpenAI Codex CLI in an isolated gVisor Linux container
Run OpenAI’s Codex CLI inside a dedicated gVisor Linux container hosted in Seon (Aargau), signed in with your own OpenAI account. Persistent disk storage keeps your repository, toolchains and caches between sessions while Codex approvals and filtered egress keep execution bounded.
Private preview: access on request, invitations in waves.
# in the container terminal, inside your project
$ cd ~/project
$ codex
# the container keeps these between sessions
~/project node_modules .cache
What you get
Isolated gVisor container with persistent disk
Each workspace runs in its own gVisor userspace-kernel container (or the Ultra VM class with its own small kernel), isolated from other users with filtered outbound access. Files, installed apt packages and build caches persist across restarts and chats, and snapshots let you roll back risky edits.
Your own account and explicit approvals
Select a private workspace you own. Codex uses native device sign-in: open the displayed URL, enter the code there and sign in with your eligible account. The CLI checks completion itself; no code is pasted back into ZeroLog. Codex keeps its own approval prompts so shell changes stay under your control.
Codex stays on your own account
ZeroLog’s native Codex integration uses your OpenAI account and Codex’s own model configuration. It is separate from the ZeroLog catalogue and does not spend ZeroLog model credit. For a catalogue model in the same project, choose ZeroLog chat or ZeroLog Code.
Running it unattended
Goals and jobs
ZeroLog chat /goal continues after its tab closes, within plan limits. That is ZeroLog’s command, not a Codex slash command. A Codex process in CMD has its own session, approvals and vendor limits. Check a terminal process after reconnecting.
Step in by hand
The terminal opens in the same container while the agent works. Fix one thing yourself and hand it back.
Limits stay the vendor's
On your own subscription the vendor's limits apply unchanged. ZeroLog does not raise them or reroute a request that hit one.
ZeroLog is an independent service. It is not affiliated with, endorsed by or sponsored by OpenAI. OpenAI, ChatGPT and Codex are trademarks of OpenAI.
Where prompts go
Prompts you send through Codex go to OpenAI, under your own contract with them. They do not pass through ZeroLog’s model provider. The container and its disk are stored in Seon (Aargau), Switzerland. The trust page lists every recipient.
Details: Claude Code and other CLIs, Your own vendor subscription, gVisor isolation, Trust and security. Data flows: Swiss AI workspace data residency. Multi-CLI overview: Bring your own AI subscription and BYOK keys.
Set up Codex
Create a container.
Any plan from Mini has one. Attach it to a chat.
Sign Codex in.
Start Codex sign-in for the selected workspace or run codex login --device-auth in its terminal. Open the URL and enter the displayed device code on OpenAI’s page.
Start it in your project.
$cd ~/project && codexGive it a task you can verify.
Read the proposed permissions, then check the diff and test output. A saved repository does not mean another tool inherits this Codex conversation.
Questions
Can Codex keep working after I close the browser?
A server process can outlast a browser connection, but disconnecting is not proof of continued execution. Use a persistent terminal session and check after reconnecting. ZeroLog chat /goal has separate server-side continuation and limits; it is not a native Codex command.
Do I need an OpenAI subscription?
Yes, you need your own ChatGPT or OpenAI account, because Codex signs in with its native device flow. Codex does not run on ZeroLog catalogue models, so ZeroLog credit cannot pay for it.
How is the Codex container isolated and are files kept between runs?
Each workspace runs in its own gVisor Linux container (or VM class on Ultra) with filtered outbound network access and explicit Codex approvals. Your container disk in Seon persists across runs, and you can save snapshots according to your plan.
Is this an OpenAI product?
No. ZeroLog is independent and not affiliated with OpenAI.
One repository, a separate session
Run Codex from the project directory and request one bounded change. Review its diff and test output. Dependencies and caches belong to the workspace; the conversation belongs to the Codex session. A reported sign-in alone does not prove access to every model.
Keep reading
Bring your own AI subscription and BYOK keys
Run Claude Code, Codex and your own API keys in one container without double-paying.
Hosted Claude Code in a Swiss container
Your own Claude account, signed in inside a persistent Linux container.
Persistent AI coding workspace
Files, snapshots, jobs and schedules that outlast a chat.
Autonomous AI agents in ZeroLog
How background runs, approvals and agent workflows fit together.
API key proxy for AI agents
Agents use your keys through a placeholder and never see the real value.
Swiss cloud dev environment
Ubuntu containers in Seon with SSH, SMB, HTTPS ports and preview links.
Swiss AI workspace
Multi-model chat, files and containers hosted in Seon with honest routing.
Open-weight models for your coding agent
Tens of thousands of models, prepaid credit (+2 %) and OpenCode-based ZeroLog Code.
ZeroLog vs. GitHub Codespaces
Factual side-by-side comparison of pricing, persistence and data location.
ZeroLog Code
Your workspace, mirrored into your local terminal.
Give Codex a container of its own
Ask for access and bring your own account.