Opinionated container image for AI-assisted coding with opencode.
Preferred usage and management is via the opencode-cloud CLI, which handles image pulls, volumes, ports, and upgrades: https://github.com/pRizz/opencode-cloud (mirror: https://gitea.com/pRizz/opencode-cloud)
latest: Most recent published releaseX.Y.Z: Versioned releases (recommended for pinning)Pull the image:
docker pull prizz/opencode-cloud-sandbox:latest
Run the container:
docker run --rm -it -p 3000:3000 prizz/opencode-cloud-sandbox:latest
The opencode web UI is available at http://localhost:3000.
http_port to 3000 or provide PORT/OPENCODE_PORT so the health check hits the right port.OPENCODE_BOOTSTRAP_USER with either OPENCODE_BOOTSTRAP_PASSWORD or OPENCODE_BOOTSTRAP_PASSWORD_HASH for first-boot access.Cargo:
cargo install opencode-cloud
NPM:
npm install -g opencode-cloud
Then start the service (recommended):
occ start
The Docker image builds opencode directly from the fork and runs the web server without nginx:
cd packages/opencodebun run build to generate packages/opencode/dist./bin/opencode webWhen modifying packages/core/src/docker/Dockerfile, follow the top-of-file
Build Hygiene Rules and the Dockerfile Optimization Checklist in:
README.mdpackages/core/README.mdContent type
Image
Digest
sha256:de15f1e12…
Size
965.5 MB
Last updated
8 months ago
docker pull prizz/opencode-cloud-sandbox