dragonfly
Delivers efficient, stable, and secure data distribution and acceleration powered by P2P technology, with an optional content‑addressable filesystem that accelerates OCI container launch.
File Explorer
Download Latest Version (.zip)- bug-report.md
- custom.md
- feature-request.md
- auto-assign.yml
- check-size.yml
- ci.yml
- codeql-analysis.yml
- docker.yml
- e2e-compatibility.yml
- e2e-nydus.yml
- e2e-rate-limit.yml
- e2e.yml
- lint.yml
- pr-labels.yml
- release.yml
- scorecards.yml
- stale.yml
- auto_assign.yml
- CODEOWNERS
- copilot-instructions.md
- dependabot.yml
- PULL_REQUEST_TEMPLATE.md
- docs.go
- swagger.json
- swagger.yaml
- README.md
- Dockerfile
- README.md
- Dockerfile
- Dockerfile
- Dockerfile
- Dockerfile
- build.sh
- Dockerfile
- option.go
- dependency.go
- doc_cmd.go
- plugin_cmd.go
- version_cmd.go
- root.go
- main.go
- root.go
- main.go
- client-dynconfig.template.yaml
- client.template.yaml
- scheduler-dynconfig.template.yaml
- scheduler.template.yaml
- seed-client.template.yaml
- docker-compose.yaml
- README.md
- run.sh
- helm-charts
- dingtalk-group.jpeg
- dragonfly-linear.png
- dragonfly-linear.svg
- dragonfly-vertical.png
- dragonfly.svg
- dragonfly-comprehensive-report-2023.pdf
- README.md
- build.sh
- docker-build.sh
- docker-push.sh
- env.sh
- install.sh
- markdownlint.sh
- update-version-gorelease.sh
- error.go
- logcore.go
- logger.go
- loginit.go
- signal.go
- dfplugin.go
- client_mock.go
- dynconfig_mock.go
- client.go
- dynconfig.go
- dynconfig_test.go
- job_mock.go
- constants.go
- image.go
- image_test.go
- job.go
- job_test.go
- logger.go
- queue.go
- queue_test.go
- types.go
- distributed_ratelimiter.go
- job_ratelimiter.go
- oauth_mock.go
- github.go
- google.go
- oauth.go
- cache.go
- ca.crt
- ca.key
- manager.yaml
- config.go
- config_test.go
- constant_otel.go
- constants.go
- cacher.go
- database.go
- mysql.go
- polardb.go
- postgres.go
- .gitkeep
- audit.go
- job.go
- recorder.go
- scheduler.go
- seed_peer.go
- application.go
- application_test.go
- audit.go
- audit_test.go
- cluster.go
- cluster_test.go
- config.go
- config_test.go
- handlers.go
- handlers_test.go
- health.go
- health_test.go
- job.go
- job_test.go
- oauth.go
- oauth_test.go
- peer.go
- peer_test.go
- permission.go
- permission_test.go
- persistent_cache_task.go
- persistent_cache_task_test.go
- personal_access_token.go
- personal_access_token_test.go
- preheat.go
- preheat_test.go
- role.go
- role_test.go
- scheduler.go
- scheduler_cluster.go
- scheduler_cluster_test.go
- scheduler_feature.go
- scheduler_test.go
- seed_peer.go
- seed_peer_cluster.go
- seed_peer_cluster_test.go
- seed_peer_test.go
- user.go
- user_test.go
- gc_mock.go
- preheat_mock.go
- sync_peers_mock.go
- task_mock.go
- job.go
- preheat.go
- sync_peers.go
- task.go
- task_test.go
- metrics.go
- metrics_test.go
- audit.go
- cors.go
- error.go
- jwt.go
- personal_access_token.go
- ratelimiter.go
- rbac.go
- rbac_test.go
- server.go
- application.go
- audit.go
- casbin_rule.go
- config.go
- job.go
- models.go
- oauth.go
- peer.go
- personal_access_token.go
- scheduler.go
- scheduler_cluster.go
- seed_peer.go
- seed_peer_cluster.go
- user.go
- rbac.go
- rbac_test.go
- router.go
- manager_server_v1.go
- manager_server_v2.go
- rpcserver.go
- searcher_mock.go
- searcher.go
- main.go
- plugin.go
- plugin_test.go
- searcher.go
- searcher_test.go
- service_mock.go
- application.go
- audit.go
- cluster.go
- config.go
- job.go
- oauth.go
- peer.go
- permission.go
- persistent_cache_task.go
- personal_access_token.go
- preheat.go
- role.go
- scheduler.go
- scheduler_cluster.go
- scheduler_feature.go
- seed_peer.go
- seed_peer_cluster.go
- service.go
- user.go
- application.go
- audit.go
- cluster.go
- config.go
- job.go
- oauth.go
- peer.go
- persional_access_token.go
- persistent_cache_task.go
- preheat.go
- role.go
- scheduler.go
- scheduler_cluster.go
- scheduler_feature.go
- seed_peer.go
- seed_peer_cluster.go
- user.go
- console
- manager.go
- atomic.go
- atomic_test.go
- personal_access_token.go
- personal_access_token_test.go
- consistent_hashing.go
- cache.go
- cache_mock.go
- cache_test.go
- safe_set_mock.go
- set_mock.go
- safe_set.go
- safe_set_test.go
- set.go
- set_test.go
- dfnet.go
- dfpath_mock.go
- dfpath.go
- dfpath_darwin.go
- dfpath_linux.go
- dfpath_test.go
- digest.go
- digest_test.go
- gc.go
- gc_mock.go
- gc_test.go
- logger.go
- logger_mock.go
- logger_test.go
- runner_mock.go
- task.go
- dag_mock.go
- dag.go
- dag_test.go
- vertex.go
- vertex_test.go
- host_id.go
- host_id_test.go
- peer_id.go
- peer_id_test.go
- task_id.go
- task_id_test.go
- math.go
- math_test.go
- fqdn.go
- fqdn_test.go
- header.go
- http.go
- http_test.go
- range.go
- range_test.go
- ipv4.go
- ipv4_test.go
- ipv6.go
- ipv6_test.go
- cert.go
- cert_test.go
- url.go
- url_test.go
- auth.go
- auth_test.go
- image.go
- image_test.go
- reference.go
- reference_test.go
- resolver.go
- resolver_test.go
- proxy.go
- proxy_test.go
- redis.go
- redis_logger.go
- redis_test.go
- client_mock.go
- client.go
- common.go
- client_mock.go
- client.go
- constants.go
- client_mock.go
- client.go
- client_v1_mock.go
- client_v2_mock.go
- client_v1.go
- client_v2.go
- constants.go
- server.go
- client_v1_mock.go
- client_v2_mock.go
- client_v1.go
- client_v2.go
- constants.go
- server.go
- credential.go
- interceptor.go
- interceptor_test.go
- rolling_window.go
- rolling_window_test.go
- structure.go
- structure_test.go
- delay.go
- delay_test.go
- constants.go
- types.go
- types_test.go
- announcer_mock.go
- announcer.go
- announcer_test.go
- dynconfig_mock.go
- ca.crt
- dynconfig.yaml
- scheduler.yaml
- config.go
- config_test.go
- constants.go
- dynconfig.go
- dynconfig_local.go
- dynconfig_local_test.go
- dynconfig_remote.go
- dynconfig_remote_test.go
- dynconfig_test.go
- job_mock.go
- job.go
- job_test.go
- metrics.go
- metrics_test.go
- host.go
- host_manager.go
- host_manager_mock.go
- host_manager_test.go
- host_test.go
- peer.go
- peer_manager.go
- peer_manager_mock.go
- peer_manager_test.go
- peer_test.go
- resource.go
- resource_mock.go
- task.go
- task_manager.go
- task_manager_mock.go
- task_manager_test.go
- task_test.go
- host.go
- host_manager.go
- host_manager_mock.go
- host_manager_test.go
- host_test.go
- peer.go
- peer_manager.go
- peer_manager_mock.go
- peer_manager_test.go
- peer_test.go
- resource.go
- resource_mock.go
- task.go
- task_manager.go
- task_manager_mock.go
- task_manager_test.go
- task_test.go
- host.go
- host_manager.go
- host_manager_mock.go
- host_manager_test.go
- host_test.go
- peer.go
- peer_manager.go
- peer_manager_mock.go
- peer_manager_test.go
- peer_test.go
- piece.go
- piece_test.go
- resource.go
- resource_mock.go
- resource_test.go
- seed_peer.go
- seed_peer_mock.go
- seed_peer_test.go
- task.go
- task_manager.go
- task_manager_mock.go
- task_manager_test.go
- task_test.go
- rpcserver.go
- rpcserver_test.go
- scheduler_server_v1.go
- scheduler_server_v2.go
- evaluator.go
- main.go
- evaluator.go
- evaluator_default.go
- evaluator_default_test.go
- evaluator_test.go
- plugin.go
- plugin_test.go
- scheduling_mock.go
- scheduling.go
- scheduling_test.go
- service_v1.go
- service_v1_test.go
- service_v2.go
- service_v2_test.go
- scheduler.go
- job.go
- preheat.go
- task.go
- artifact.go
- constants.go
- dufs.go
- exec.go
- file.go
- file_server.go
- personal_access_token.go
- task.go
- concurrency_test.go
- containerd_test.go
- dfcache_test.go
- dfget_test.go
- e2e_test.go
- host_test.go
- proxy_test.go
- rate_limit_test.go
- config-ipv6.yaml
- config-nydus.yaml
- config-rate-limit.yaml
- config-with-manager.yaml
- config.yaml
- config.toml
- dufs.yaml
- nydus.yaml
- scheduler-nodeport-svc.yaml
- config.yaml
- README.md
- platform_darwin.go
- platform_linux.go
- version.go
- .gitignore
- .gitmodules
- .golangci.yml
- .goreleaser.yml
- .markdownlint.yml
- ADOPTERS.md
- CHANGELOG.md
- client
- CODE_OF_CONDUCT.md
- codecov.yml
- CONTRIBUTING.md
- go.mod
- go.sum
- GOVERNANCE.md
- LICENSE
- MAINTAINERS.md
- Makefile
- OWNERS.md
- README.md
- SECURITY-INSIGHTS.yml
- SECURITY.md
🚀 Installation Guide
1. Get the code
git clone https://github.com/dragonflyoss/dragonfly
Downloads the entire project code from GitHub to your computer.
cd dragonfly
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker compose -f deploy/docker-compose/docker-compose.yaml up -d --build
Runs the command against the services defined in the compose file.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. Go
MediumPrerequisites
go build ./...
Compiles the Go program into an executable.
go run .
Runs the Go program directly without a separate build step.
If the build finishes without errors, it worked. If you used go run ., check the terminal output.
4. Make
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make
Compiles the code based on the generated build configuration to produce an executable.
If it finishes without errors, it worked. Try running the generated executable directly.
// repository documentation
Was this content helpful?
(0 ratings)
