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

Large docker image #197

Closed
nitdana opened this issue Jul 22, 2020 · 2 comments
Closed

Large docker image #197

nitdana opened this issue Jul 22, 2020 · 2 comments

Comments

@nitdana
Copy link

nitdana commented Jul 22, 2020

Hi,

First - this tool is awesome and very useful, giving us so much value, just wanted you to know it.
Recently I tried to run it on a very large image of 6 GB, and it took 4 hours to squash it.
Is there anything I can do to for optimizing this process? anyway to run it on multiple cpu maybe?

Thanks!

@goldmann
Copy link
Owner

Hey, thanks!

You may be interested in reading this: #196 and this: #63.

There are two things that holds us from being even more performant:

  1. Docker daemon is single-threaded.
  2. We compare files if these exist in layers - we cannot do this in parallel.

None of them are fixable currently.

@nitdana
Copy link
Author

nitdana commented Jul 23, 2020

Got it, thanks!

@nitdana nitdana closed this as completed Jul 23, 2020
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

No branches or pull requests

2 participants