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

Display image reduction stats #157

Closed
sean-krail opened this issue Dec 27, 2017 · 2 comments
Closed

Display image reduction stats #157

sean-krail opened this issue Dec 27, 2017 · 2 comments
Assignees
Milestone

Comments

@sean-krail
Copy link

It'd be nice to see the original image's size (unsquashed), the new image's size (squashed), and the percent reduction when running docker-squash.

@goldmann
Copy link
Owner

I like this idea a lot, I'm going to implement it, thanks!

@goldmann goldmann self-assigned this Feb 13, 2018
@goldmann
Copy link
Owner

I've implemented it and the stats are now visible in following way:

2018-02-13 15:15:50,325 root         INFO     Original image size: 1342.47 MB
2018-02-13 15:15:50,325 root         INFO     Squashed image size: 631.21 MB
2018-02-13 15:15:50,325 root         INFO     Image size decreased by 47.02 %

goldmann added a commit that referenced this issue Feb 13, 2018
Log contains now information about the image size.

Fixes #157
goldmann added a commit that referenced this issue Feb 13, 2018
Log contains now information about the image size.

Fixes #157
@goldmann goldmann added this to the 1.0.7 milestone Feb 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants