A small utility script I use to run codex-cli inside rootless podman
  • Shell 66.9%
  • Dockerfile 33.1%
Find a file
2026-02-03 01:03:41 +01:00
.gitignore change structure of gitignored files 2025-12-12 22:40:52 +01:00
coco.sh add RAMFS option to allow running the container with --transient-store, causing it to live entirely in ram 2026-01-14 12:30:29 +01:00
docker-compose.yml add claude code support 2026-01-06 19:21:09 +01:00
Dockerfile install opencode in Dockerfile 2026-02-03 01:03:41 +01:00
LICENSE readme and license 2025-12-12 22:53:28 +01:00
README.md update prerequisites 2025-12-12 23:01:18 +01:00

container-codex

What is this?

It's a small utility shell script + dockerfile/docker-compose.yml that I use for running codex-cli inside rootless podman containers on my machine.

Setup

First off, you must have a working podman and podman-compose installation and they must be on PATH.

Now, to use this tool, you basically just need to be able to run the coco.sh shell script. I recommend creating a cmd/ directory inside this repo after cloning it, symlinking coco.sh to cmd/coco and adding this cmd/ subdir to your PATH.

E.g.

mkdir -p cmd
ln -sf "$(pwd)/coco.sh" cmd/coco
export PATH=$PATH:"$(pwd)/cmd"
# NOTE: If you intend to use this tool, you should likely add this last export PATH line to your ~/.bashrc file.

License

MIT License