Execute any OCI-compatible Docker image on Lyceum Cloud. Bring your own containers with custom dependencies, ML frameworks, or specialized environments.
Overview
Docker execution allows you to run containerized workloads on Lyceum’s infrastructure. Perfect for reproducible environments, custom dependencies, and production deployments.Any Registry
Docker Hub, ECR, GCR (Coming Soon), or private registries (Coming Soon)
GPU Support
Automatic NVIDIA runtime for ML workloads
Real-time Output
Stream logs and results as they happen
Quick Start
- Public Image
- Private Registry
- GPU Workload
Run a public Docker Hub image:
Container Registries
Docker Hub
Docker Hub
AWS ECR
AWS ECR
Configuration
Google Container Registry (Coming Soon)
Google Container Registry (Coming Soon)
This registry integration is coming soon and is not yet available.
GitHub Container Registry (Coming Soon)
GitHub Container Registry (Coming Soon)
This registry integration is coming soon and is not yet available.
API Reference
Start Execution
Endpoint:POST /api/v2/external/execution/image/start
Request Parameters
Fully qualified Docker image reference (e.g.,
python:3.11, myregistry.com/image:tag)Resource type:
cpu, gpu, or autoOverride container command (e.g.,
["python", "script.py"])Environment variables as newline-separated KEY=VALUE pairs
Maximum execution time in seconds
Authentication type:
basic or awsRegistry authentication credentials (see examples above)
Environment Configuration
- Environment Variables
- Command Override
- Storage Access (Coming Soon)
Pass environment variables to your container:
Common Use Cases
ML Training
Data Processing
Web Scraping
API Services
Monitoring Execution
Real-time Output Streaming
- Server-Sent Events
- Polling Status
Best Practices
Image Optimization
Image Optimization
- Use slim base images (alpine, slim variants)
- Multi-stage builds to reduce size
- Cache dependencies in layers
- Remove unnecessary files and packages
Security
Security
- Never hardcode secrets in images
- Use environment variables for credentials
- Scan images for vulnerabilities
- Use specific tags, not
latest
Performance
Performance
- Pre-pull large images to reduce startup time
- Use appropriate resource allocation
- Set reasonable timeouts
- Implement health checks
Troubleshooting
Image Pull Errors
Image Pull Errors
Issue: Container image not found or authentication failedSolutions:
- Verify image name and tag exist
- Check registry credentials
- Ensure image is compatible with linux/amd64
Need help? Contact [email protected] or check our API Reference for detailed specifications.

