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

Speed up skopeo copy #125

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Atry
Copy link

@Atry Atry commented Mar 28, 2024

Images produced by nix2container usually contain more than 100 layers. It takes a long time to decide whether each layer should be skipped. This PR makes the process faster by increasing the concurrency to 64.

Copy link
Owner

@nlewo nlewo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure it's a good idea to override the default Skopeo value. I think it's pretty hard to predict side effects of this new value (for instance, rate limiting on registries because of too many connection open).

It would actually be much better if Skopeo could provide an option allowing the user to set this value at runtime.
Is there a Skopeo issue about this?
If not, i think we should create one to see if such option could be added to Skopeo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants