Add Daytona backend - #4321
Add Daytona backend#4321
Conversation
|
@mislavivanda would you like to review it? |
Hey @peterschmidt85, sorry for a small delay here. I've ran the backend end-to-end against production Daytona from this branch: CPU and GPU task both provisioned, ran and exited 0 - offers, quota labels, Declarative Builder path and the Toolbox runner bootstrap all behave exactly as the platform intends. LGTM. One rough edge found by testing with a minimally-scoped API key: offers require the |
Document required permissions and remove redundant Daytona tests.
This PR adds Daytona backend support for CPU/GPU runs and volumes. It uses the online Daytona provider added in dstackai/gpuhunt#263.
FROM <configured image>and overrides the user and startup command so dstack can install and start the runner as root. Daytona'suseroption does not override the image'sUSER.registry_authis set, the backend creates this Registry and deletes it after deleting the sandbox.sizeorregionparameters; dstack accepts a volume configuration without these fields and lets runs share the volume across Daytona regions.maindependency withgpuhunt==0.1.31and removeallow-direct-references.