Add drive9 — persistent filesystem layer for Daytona sandboxes#103
Open
qiffang wants to merge 2 commits into
Open
Add drive9 — persistent filesystem layer for Daytona sandboxes#103qiffang wants to merge 2 commits into
qiffang wants to merge 2 commits into
Conversation
Signed-off-by: qiffang <qiffang33@gmail.com> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is drive9?
drive9 is a persistent filesystem that lets data survive sandbox destruction. When mounted inside a Daytona sandbox, it provides:
drive9 ctx forkcreates isolated copies in <1s for safe experimentationWhy whitelist?
We built drive9-for-daytona, an open-source integration demo showing how drive9 adds a persistent data layer to Daytona sandboxes. The demo creates 3 sandboxes sequentially — each one picks up exactly where the last one left off, because the code lives on drive9, not on sandbox local disk.
The sandbox needs to reach `api.drive9.ai` at runtime for:
drive9 mount— mounts the persistent filesystem via FUSEdrive9 ctx fork— creates instant copy-on-write forksdrive9 fs— file operations (ls, stat, mkdir)Currently blocked on Tier 1/2 with
Connection reset by peerduring TLS handshake.Domains requested
The wildcard covers `api.drive9.ai` (API server) and any future subdomains.
Demo
Here's what the integration looks like — 3 ephemeral sandboxes, code survives every destruction:
Full demo: drive9-ai/drive9-for-daytona