|
| 1 | +--- |
| 2 | +title: "Docker Hub Repository" |
| 3 | +sidebarTitle: "Docker Hub" |
| 4 | +icon: "docker" |
| 5 | +--- |
| 6 | + |
| 7 | +Codegen provides a public Docker repository hosting our sandbox image, making it easy for developers to access and use the same environment that powers Codegen agents. |
| 8 | + |
| 9 | +## Repository Access |
| 10 | + |
| 11 | +The Codegen sandbox image is publicly available on Docker Hub: |
| 12 | + |
| 13 | +**Repository URL:** [https://hub.docker.com/r/caroljung/codegen-sandbox](https://hub.docker.com/r/caroljung/codegen-sandbox) |
| 14 | + |
| 15 | +This repository contains the same Docker image that Codegen agents use in their sandbox environments, providing you with: |
| 16 | + |
| 17 | +- A comprehensive development environment |
| 18 | +- Pre-installed tools and dependencies |
| 19 | +- Consistent runtime environment across different platforms |
| 20 | + |
| 21 | +## Using the Docker Image |
| 22 | + |
| 23 | +You can pull and run the Codegen sandbox image locally using standard Docker commands: |
| 24 | + |
| 25 | +```bash |
| 26 | +# Pull the latest image |
| 27 | +docker pull caroljung/codegen-sandbox:latest |
| 28 | + |
| 29 | +# Run an interactive container |
| 30 | +docker run -it caroljung/codegen-sandbox:latest /bin/bash |
| 31 | +``` |
| 32 | + |
| 33 | +## What's Included |
| 34 | + |
| 35 | +The sandbox image includes the same tools and environment that Codegen agents use: |
| 36 | + |
| 37 | +- **Development Tools:** Git, build tools, compilers, and package managers |
| 38 | +- **Runtime Environments:** Python, Node.js, and other language runtimes |
| 39 | +- **System Utilities:** Common Unix tools and utilities for development workflows |
| 40 | +- **Package Managers:** npm, pip, yarn, and other dependency management tools |
| 41 | + |
| 42 | +For a complete list of included tools and packages, see the [Base Image](/sandboxes/base-image) documentation. |
| 43 | + |
| 44 | +## Use Cases |
| 45 | + |
| 46 | +The public Docker repository enables several use cases: |
| 47 | + |
| 48 | +- **Local Development:** Test your code in the same environment Codegen agents use |
| 49 | +- **CI/CD Integration:** Use the sandbox image in your continuous integration pipelines |
| 50 | +- **Debugging:** Reproduce issues that occur in Codegen sandbox environments |
| 51 | +- **Custom Workflows:** Build upon the Codegen sandbox for your own automation needs |
| 52 | + |
| 53 | +## Repository Maintenance |
| 54 | + |
| 55 | +The Docker Hub repository is maintained by the Codegen team and updated regularly to ensure: |
| 56 | + |
| 57 | +- Security patches are applied promptly |
| 58 | +- Development tools remain current |
| 59 | +- Compatibility with Codegen agent workflows is maintained |
| 60 | + |
| 61 | +For questions about the Docker repository or to report issues, please contact our support team. |
| 62 | + |
0 commit comments