Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 450 Bytes

File metadata and controls

14 lines (11 loc) · 450 Bytes

Custom template

Build a Docker-enabled root filesystem, create a sandbox from it, start the Docker daemon, and run hello-world and Alpine containers.

python -m pip install createos-sandbox
export CREATEOS_API_KEY="your-api-key"
python examples/custom_template/main.py

The template build can take several minutes and downloads operating system packages and container images. Cleanup destroys the sandbox before deleting the template.