A ready-to-use Docker image for running OpenCode with all necessary models and dependencies pre-downloaded.
This Docker image is based on Ubuntu and comes with OpenCode pre-installed and initialized. All required models and files are downloaded during the image build process, allowing you to start using OpenCode immediately without any additional setup or waiting for downloads.
/contents directory as the working directory# Pull the latest image from Docker Hub
docker pull winm2m/opencode:latest
# Run OpenCode interactively
docker run -it winm2m/opencode:latest
# Run with a mounted volume to persist your work
docker run -it -v $(pwd):/contents winm2m/opencode:latest
# Run with a specific file
docker run -it -v $(pwd):/contents winm2m/opencode:latest sh -c "opencode your-file.py"
Content type
Image
Digest
sha256:27c2ab774…
Size
79.3 MB
Last updated
8 months ago
docker pull winm2m/opencode