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

Support layer propagation to registries for image conversion on the fly #3

Open
ktock opened this issue Nov 8, 2019 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@ktock
Copy link
Member

ktock commented Nov 8, 2019

Related to:

Currently, this remote snapshotter only supports reading layers. So we need to pre-process(e.g. stargzify) and push an image to a registry in advance to make it usable as "remote layers" from this snapshotter.

We can achieve on-the-fly image processing without pre-processing it by enabling to propagate layers from local to registries during runtime:

  1. On 1st Prepare(), normal(not remote) layers are pulled in a very normal way.
  2. On Commit(), remote snapshotter processes(e.g. stargzifies) this layer as needed and pushes it to the remote store.
  3. Since 2nd Prepare(), we can pull this layer as a "remote layer".
@ktock ktock added the enhancement New feature or request label Nov 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant