hack.foo
Guides

OpenAI Codex cloud

Not run yet, and not expected to work without a test. As read on 2026-11-18, the current cloud environments documentation does not say whether a Docker daemon is available. The legacy environment has no documented Docker daemon, removes secrets before the agent phase, and blocks internet access during it by default.

Hack's Compose runtime needs a Docker Engine the task can reach. Until a run shows one in a current Codex cloud task, treat this environment as unsupported for hack up. Env-only use (resolving values and running host commands without containers) is the intended workflow there, also not run yet. It uses the slim installer, which installs ~/.hack/bin/hack in slim mode (no proxy, DNS, TLS or logging stack):

curl -fsSL https://github.com/hack-dance/hack/releases/latest/download/hack-codex-install.sh | bash
export PATH="$HOME/.hack/bin:$PATH"

See Managed environments.

To test it

  • Create a current cloud environment on a test repository.
  • Add HACK_ENV_SECRET_KEY as an environment variable. A network secret only gives programs a placeholder.
  • Turn on full internet access.
  • Ask a task to run:
docker info && docker compose version

If both succeed, continue with Any Linux machine with Docker and record the result here. If hack up refuses, its message names what is missing.


Source: v5 (next.34) · docs/site/guides/cloud-codex.md.

On this page