kraken
P2P Docker registry capable of distributing TBs of data in seconds
File Explorer
Download Latest Version (.zip)- pre-commit
- bug_report.md
- feature_request.md
- build-and-test.yaml
- labeler.yml
- vulnerability-check.yaml
- client.go
- client_test.go
- server.go
- server_test.go
- cmd.go
- cmd_test.go
- config.go
- main.go
- architecture.svg
- benchmark.svg
- kraken-logo-color.ai
- kraken-logo-color.svg
- kraken_build_index.svg
- kraken_core.svg
- visualization.gif
- cmd.go
- config.go
- client.go
- provider.go
- testing.go
- models.go
- config.go
- server.go
- server_test.go
- config.go
- store.go
- store_test.go
- default_resolver.go
- docker_resolver.go
- docker_resolver_test.go
- map.go
- map_test.go
- main.go
- base.yaml
- test.template
- base.yaml
- test.template
- base.yaml
- test.template
- base.yaml
- test.template
- base.yaml
- test.template
- blobinfo.go
- digest.go
- digest_test.go
- digester.go
- digester_test.go
- fixtures.go
- infohash.go
- infohash_test.go
- metainfo.go
- metainfo_test.go
- peer_context.go
- peer_context_test.go
- peer_id.go
- peer_id_test.go
- peer_info.go
- peer_info_test.go
- piece_hash.go
- piece_hash_test.go
- Dockerfile
- Dockerfile
- Dockerfile
- Dockerfile
- Dockerfile
- Dockerfile
- Dockerfile
- setup_nginx.sh
- architecture.svg
- benchmark.svg
- kraken-logo-color.ai
- kraken-logo-color.svg
- kraken_build_index.svg
- kraken_core.svg
- visualization.gif
- ARCHITECTURE.md
- CONFIGURATION.md
- CONTRIBUTING.md
- ENDPOINTS.md
- index.md
- INTEGRATEWITHHARBOR.md
- ROADMAP.md
- STYLEGUIDE.md
- development.yaml
- development.yaml
- development.yaml
- development.yaml
- development.yaml
- agent_one_param.sh
- agent_one_start_container.sh
- agent_two_param.sh
- agent_two_start_container.sh
- herd_param.sh
- herd_start_container.sh
- herd_start_processes.sh
- README.md
- demo.json
- README.md
- p2p.pb.go
- agent.yaml
- build-index.yaml
- origin.yaml
- proxy.yaml
- tracker.yaml
- _helpers.tpl
- agents.yaml
- build-index.yaml
- config.yaml
- origins.yaml
- proxy.yaml
- testfs.yaml
- trackers.yaml
- .helmignore
- Chart.yaml
- values.yaml
- errors.go
- client.go
- client_test.go
- config.go
- gcs.go
- client.go
- client_test.go
- config.go
- json.go
- client.go
- client_test.go
- config.go
- http.go
- http_test.go
- pather.go
- pather_test.go
- security.go
- blobclient.go
- blobclient_test.go
- config.go
- config_test.go
- tagclient.go
- tagclient_test.go
- client.go
- client_test.go
- config.go
- s3.go
- client.go
- client_test.go
- config.go
- README.md
- client_test.go
- client.go
- client_test.go
- config.go
- README.md
- schema.go
- client.go
- client_test.go
- config.go
- server.go
- server_test.go
- client.go
- config.go
- constants.go
- fixtures.go
- manager.go
- manager_test.go
- noop.go
- options.go
- results.go
- throttle.go
- config.go
- refresher.go
- refresher_test.go
- .config.go.swp
- client.go
- config.go
- .cli.go.swn
- .cli.go.swo
- cli.go
- config.go
- .factory.go.swp
- factory.go
- errors.go
- ro_transferer.go
- ro_transferer_test.go
- rw_transferer.go
- rw_transferer_test.go
- testing.go
- transferer.go
- blobs.go
- config.go
- manifests.go
- manifests_verification_test.go
- metadata.go
- metadata_test.go
- paths.go
- paths_test.go
- storage_driver.go
- storage_driver_test.go
- testutils_test.go
- uploads.go
- config.go
- passive_ring.go
- passive_ring_test.go
- ring.go
- ring_test.go
- testing.go
- checker.go
- config.go
- filter.go
- filter_test.go
- list.go
- monitor.go
- monitor_test.go
- passive.go
- passive_filter.go
- passive_filter_test.go
- passive_test.go
- state.go
- state_test.go
- testing.go
- config.go
- fixtures.go
- list.go
- list_test.go
- fixtures.go
- rendezvous.go
- rendezvous_test.go
- testutils_test.go
- config.go
- config_test.go
- fixtures.go
- generator.go
- generator_test.go
- middleware.go
- middleware_test.go
- download_performance.go
- download_performance_test.go
- executor.go
- executor_test.go
- fixtures.go
- remotes.go
- remotes_test.go
- store.go
- store_test.go
- task.go
- testing.go
- executor.go
- executor_test.go
- fixtures.go
- query.go
- store.go
- store_test.go
- task.go
- testing.go
- config.go
- errors.go
- interfaces.go
- manager.go
- manager_test.go
- buffer_readwriter.go
- buffer_readwriter_test.go
- const.go
- errors.go
- file_entry.go
- file_entry_test.go
- file_map.go
- file_map_test.go
- file_op.go
- file_op_test.go
- file_readwriter.go
- file_store.go
- fixtures.go
- testutils_test.go
- config.go
- crash_recovery.go
- crash_recovery_test.go
- file.go
- pather.go
- pather_test.go
- scoped_store.go
- store.go
- store_test.go
- config.go
- file.go
- scoped_store.go
- store.go
- store_test.go
- last_access_time.go
- last_access_time_test.go
- metadata.go
- persist.go
- persist_test.go
- torrentmeta.go
- torrentmeta_test.go
- config.go
- file.go
- file_test.go
- flusher.go
- flusher_test.go
- scoped_store.go
- store.go
- store_test.go
- ca_download_store.go
- ca_download_store_test.go
- ca_store.go
- ca_store_test.go
- cache_store.go
- cleanup.go
- cleanup_test.go
- config.go
- file.go
- fixtures.go
- scope.go
- simple_store.go
- simple_store_test.go
- testing.go
- upload_store.go
- utils.go
- config.go
- events.go
- producer.go
- producer_test.go
- testing.go
- util.go
- queue.go
- queue_test.go
- announcer.go
- announcer_test.go
- config.go
- conn.go
- conn_test.go
- fake_peer.go
- fake_peer_test.go
- fixtures.go
- handshaker.go
- handshaker_test.go
- message.go
- config.go
- state.go
- state_test.go
- default_policy.go
- manager.go
- manager_test.go
- policy.go
- rarest_first_policy.go
- config.go
- dispatcher.go
- dispatcher_test.go
- peer.go
- sync_bitfield.go
- sync_bitfield_test.go
- torrent_access_watcher.go
- logger.go
- config.go
- constructors.go
- events.go
- events_test.go
- reload.go
- scheduler.go
- scheduler_test.go
- state.go
- testutils_test.go
- fixtures.go
- pieces.go
- torrent.go
- torrent_archive.go
- torrent_archive_test.go
- torrent_test.go
- torrent.go
- torrent_archive.go
- torrent_archive_test.go
- torrent_test.go
- buffer.go
- file.go
- fixtures.go
- storage.go
- torrent_info.go
- torrent_info_test.go
- config.go
- 00001_tagreplication_init.go
- 00002_writeback_init.go
- 00003_writeback_tracing.go
- config.go
- database.go
- database_test.go
- fixtures.go
- config.go
- disabled.go
- m3.go
- metrics.go
- statsd.go
- client.go
- client.go
- provider.go
- filestore.go
- store.go
- dependencyresolver.go
- mock_closer.go
- gcs.go
- client.go
- s3.go
- client.go
- client.go
- dockerclient.go
- factory.go
- imagetransferer.go
- ring.go
- watcher.go
- checker.go
- filter.go
- passivefilter.go
- list.go
- remotevalidator.go
- executor.go
- manager.go
- store.go
- task.go
- filereadwriter.go
- reloadablescheduler.go
- scheduler.go
- client.go
- clientresolver.go
- clusterclient.go
- clusterprovider.go
- provider.go
- client.go
- client.go
- store.go
- store.go
- intervaltask.go
- taskrunner.go
- roundtripper.go
- agent.go
- base.go
- build-index.go
- default.go
- origin.go
- proxy.go
- tracker.go
- nginx.go
- client.go
- client_test.go
- cluster_client.go
- cluster_client_test.go
- errors.go
- provider.go
- transfer_bench_test.go
- uploader.go
- cluster_client_test.go
- config.go
- metrics.go
- server.go
- server_test.go
- testutils_test.go
- uploader.go
- utils.go
- utils_test.go
- cmd.go
- config.go
- main.go
- p2p.proto
- cmd.go
- config.go
- config.go
- prefetch.go
- preheat.go
- registry_events.go
- server.go
- server_test.go
- testutils_test.go
- config.go
- server.go
- main.go
- mkdocs.sh
- __init__.py
- components.py
- conftest.py
- test_core.py
- test_docker.py
- test_memory_cache.py
- test_replication.py
- uploader.py
- utils.py
- passphrase
- server.crt
- server.key
- server.srl
- client.crt
- client.key
- client_decrypted.key
- passphrase
- README.md
- regenerate_certs.sh
- main.go
- notification.go
- pull.go
- main.go
- procedural_generated_graph.py
- random_regular_graph.py
- main.go
- app.css
- app.html
- app.js
- main.go
- server.go
- image.go
- tlsutil.go
- client.go
- cmd.go
- config.go
- client.go
- testing.go
- config.go
- fixtures.go
- store.go
- store_test.go
- completeness_policy.go
- completeness_policy_test.go
- config.go
- default_policy.go
- default_policy_test.go
- fixtures.go
- peerhandoutpolicy.go
- peerhandoutpolicy_test.go
- config.go
- local.go
- local_test.go
- redis.go
- redis_test.go
- store.go
- testing.go
- announce.go
- announce_test.go
- config.go
- fixtures.go
- metainfo.go
- metainfo_test.go
- server.go
- testutils_test.go
- main.go
- limiter.go
- limiter_test.go
- bitsetutil.go
- blob_memory_cache.go
- blob_memory_cache_test.go
- config.go
- lru.go
- lru_test.go
- closer.go
- closer_test.go
- base.yaml
- production-zone2.yaml
- production.yaml
- base.yaml
- production-zone2.yaml
- production.yaml
- base.yaml
- production-zone2.yaml
- production.yaml
- base.yaml
- production-zone2.yaml
- production.yaml
- base.yaml
- production-zone2.yaml
- production.yaml
- base.yaml
- production-zone2.yaml
- base.yaml
- production-zone2.yaml
- production.yaml
- base.yaml
- secrets.yaml
- test.yaml
- config.go
- config_test.go
- interval_trap.go
- interval_trap_test.go
- limiter.go
- limiter_test.go
- request_cache.go
- request_cache_test.go
- diskspaceutil.go
- diskspaceutil_test.go
- dockerutil.go
- dockerutil_test.go
- fixtures.go
- errutil.go
- errutil_test.go
- flagutil.go
- handler.go
- priority_queue.go
- priority_queue_test.go
- backoff.go
- httputil.go
- httputil_test.go
- tls.go
- tls_test.go
- config.go
- listen.go
- map.go
- map_test.go
- log.go
- logger.go
- memsize.go
- memsize_test.go
- mockutil.go
- mockutil_test.go
- netutil.go
- osutil.go
- randutil.go
- cappedbuffer.go
- cappedbuffer_test.go
- rwutil.go
- rwutil_test.go
- stringset.go
- counters.go
- counters_test.go
- testutil.go
- timer.go
- timer_test.go
- timeutil.go
- timeutil_test.go
- .dockerignore
- .git-secrets-false-positives.json
- .gitignore
- .golangci.yml
- .python-version
- .travis.yml
- CLAUDE.md
- go.mod
- go.sum
- KRAKEN_MAC_SETUP_CODELAB.md
- LICENSE
- Makefile
- mkdocs.yml
- README.md
- requirements-docs.txt
- requirements-tests.txt
# Installation Guide
1. Get the code
git clone https://github.com/uber/kraken
Downloads the entire project code from GitHub to your computer.
cd kraken
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.
โ ๏ธ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
docker build -f docker/agent/Dockerfile -t kraken .
Builds a runnable image based on the Dockerfile.
docker run -p 8080:80 kraken
Runs the built image as an actual container.
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)
