A Docker container for running OpenCode with the Superpowers plugin.
docker build -t opencode .| Variable | Required | Default | Description |
|---|---|---|---|
PARASAIL_API_KEY |
Yes | - | API key for Parasail |
GITHUB_TOKEN |
Yes | - | GitHub token for gh CLI authentication |
CODENOMAD_SERVER_PASSWORD |
Server mode | - | Password for CodeNomad server access |
GIT_EMAIL |
No | opencode@local |
Git commit email |
GIT_NAME |
No | OpenCode |
Git commit author name |
MODE |
No | server |
Run mode: server or interactive |
CLI_PORT |
No | 9898 |
Server port (server mode only) |
CLI_HOST |
No | 127.0.0.1 |
Interface to bind (server mode only) |
The container comes with the following skill sets pre-installed:
Development workflow skills including brainstorming, TDD, debugging, code review, and more.
Official Anthropic skills for creative, technical, and enterprise tasks:
Document Skills:
xlsx- Excel spreadsheet processingdocx- Word document processingpptx- PowerPoint presentation processingpdf- PDF document processing
Example Skills:
algorithmic-art- Generative art creationbrand-guidelines- Brand consistencycanvas-design- Visual designdoc-coauthoring- Document collaborationfrontend-design- UI/UX designinternal-comms- Internal communicationsmcp-builder- MCP server developmentskill-creator- Custom skill creationslack-gif-creator- Slack GIF creationtheme-factory- Theme stylingweb-artifacts-builder- Web artifact buildingwebapp-testing- Web application testing
Note: Some document skills (docx, pdf, pptx, xlsx) are source-available, not Apache 2.0. See anthropics/skills for licensing details.
Starts a CodeNomad server that exposes OpenCode over HTTP:
docker run -d \
-e PARASAIL_API_KEY="your-api-key" \
-e GITHUB_TOKEN="your-github-token" \
-e CODENOMAD_SERVER_PASSWORD="your-password" \
-e CLI_HOST="0.0.0.0" \
-p 9898:9898 \
-v /path/to/workspace:/home/opencode/workspace \
opencodeStarts a bash shell for direct interaction:
docker run -it \
-e PARASAIL_API_KEY="your-api-key" \
-e GITHUB_TOKEN="your-github-token" \
-e MODE=interactive \
-v /path/to/workspace:/home/opencode/workspace \
opencodeOnce inside the container, you can run opencode directly.
docker run -d \
-e PARASAIL_API_KEY="your-api-key" \
-e GITHUB_TOKEN="your-github-token" \
-e CODENOMAD_SERVER_PASSWORD="your-password" \
-e CLI_HOST="0.0.0.0" \
-e CLI_PORT=8080 \
-p 8080:8080 \
-v /path/to/workspace:/home/opencode/workspace \
opencode