Graft
Git-like branching for Docker database volumes.Key Features
- Instant branching — Hardlink-based zero-copy branch creation via
rsync --link-dest. Identical files across branches consume zero disk space. - Host filesystem storage — Branch data lives on your host under
~/.graft/. Browse it with Finder,ls, or any file manager. Back it up withcp -r. - Content-addressable storage — BLAKE3-hashed object pool with sharded layout. Every file is stored by its cryptographic hash — deduplication is automatic and perfect.
- Merkle DAG integrity — Every commit produces a cryptographic fingerprint. Verify branch integrity on demand. Detect corruption at the file level.
- Docker bind mount — After checkout, the container is recreated with a host bind mount pointing at the branch directory. No environment variable hacks.
- Smart container lifecycle — Captures whether the container was running before an operation. Only restarts if it was originally running.