Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node to Node Docker Image Transfer #29

Open
t-lin opened this issue May 27, 2020 · 2 comments
Open

Node to Node Docker Image Transfer #29

t-lin opened this issue May 27, 2020 · 2 comments
Labels
enhancement New feature or request Low Priority

Comments

@t-lin
Copy link
Member

t-lin commented May 27, 2020

For improved resiliance against Internet connectivity failures, it'd be ideal of allocators / docker engines could somehow get images from another node, rather than going to Docker hub all the time.

To support such a capability:

  • Allocators should be able to report images currently held on node (may or may not be running)
  • Allocators should be able to request transfer of image
  • Actual transfer can be done either by:
    • Setting up a per-host registry (or a subset of hosts with good network connectivity and bandwidth + disk capacity)
    • Save the image to a file, copy it, then load it (may take longer than prior solution)
@t-lin t-lin added the enhancement New feature or request label May 27, 2020
@t-lin
Copy link
Member Author

t-lin commented Jun 11, 2020

Uber has a project on something similar: https://github.com/uber/kraken

Their architecture seems like it has a lot of parts, wondering if it can be deployed with fewer components and in a simplified manner, so we get just the features we need.

@t-lin
Copy link
Member Author

t-lin commented Jun 18, 2020

If developing our own interface/protocol, can potentially use:

Alternatively, need to look into using IPFS's existing protocols and libraries. It supports a replication factor to ensure certain content are replicated a minimum number of times, an ideal feature for images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Low Priority
Projects
None yet
Development

No branches or pull requests

1 participant