A small utility script I use to run codex-cli inside rootless podman
- Shell 66.9%
- Dockerfile 33.1%
| .gitignore | ||
| coco.sh | ||
| docker-compose.yml | ||
| Dockerfile | ||
| LICENSE | ||
| README.md | ||
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.