Run modes
Flyte supports three execution modes, letting you choose the right trade-off between speed and fidelity at each stage of development:
Local
Run tasks and apps directly in your local Python process with no K8s cluster or Docker required. Ideal for rapid iteration and debugging.Devbox
Run tasks and apps in a lightweight Flyte cluster using Docker. Get the full Flyte UI and backend experience on your machine.| Aspect | Local (--local) |
Devbox |
|---|---|---|
| ⚡️ Execution | In-process Python | Containerized, local Docker |
| 🐳 Docker required | No | Yes |
| 💻 Flyte UI | No (TUI only) | Yes (localhost:30080) |
| 📦 Container images | Ignored | Built locally |
| 🔀 Parallelism | Sequential | Cluster-level |
| ⭐️ Best for | Fast iteration, debugging | Testing container builds, full Flyte features |
The same task code runs unchanged across all the two modes. Start local for fast feedback, move to the devbox to validate containerized execution, then deploy to a remote cluster for production.