codex

official tools

Coding-agent sandbox โ€” Node.js, Python, git, ripgrep, and build-essential with the OpenAI Codex CLI (`codex`) pre-installed. Bring your own API key at runtime.

linux/amd64linux/arm64
by smolmachines updated 6/5/2026
pull
smolvm pack pull registry.smolmachines.com/library/codex:latest
how to use

Verified steps โ€” with the smolvm CLI installed:

# Pull (Apple Silicon / arm64; use :amd64 on Intel/AMD)

smolvm pack pull registry.smolmachines.com/library/codex:arm64 -o codex.smolmachine

# Run a one-off command โ€” ephemeral, the VM is discarded when it exits

smolvm pack run --sidecar codex.smolmachine codex --version

# Or run it as a persistent machine โ€” create, start, exec, stop

smolvm machine create codex --from codex.smolmachine
smolvm machine start --name codex
smolvm machine exec --name codex -- codex --version
smolvm machine stop --name codex

Codex needs an OpenAI API key โ€” set OPENAI_API_KEY in the VM environment to use it.

tags
tagdigestsizeplatformscreated
latestsha256:38a13f98daea...289 MB
linux/amd64linux/arm64
6/5/2026
configuration
base image node:22-bookworm-slim
mode container
entrypoint /bin/sh
workdir /
resources 4 CPU, 8192 MB
guest platform linux/amd64
host platform multi
smolvm version 0.9.0