You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Performance improvements. As part of #63 we investigated and fixed some performance issues. This makes squashing faster even by 40%. It depends of course on the image, but you can expect pretty big performance improvement in any case.
Add support for Docker 1.10 or newer which introduces new image format
The --from-layer argument can take now numeric value which specifies how many layers should be squashed.
Temporary directories are now removed in case of failure, see #44.
Added --development, -d switch to enable development mode. Currently this enables full stacktraces and does not remove the temporary directories after failure.
Known issues
In case you want to squash an image containing missing layers (see docker history IMAGE_ID to confirm) most probably you'll need to specify numeric value to the --from-layer argument which says how many layer you want to squash. It's impossible to reference a missing layer in other way because these layers do not have populated IDs.
When you squash you can now create both - a tarred image and load it into Docker. Available only when running from an API, set the load_image to True and specify output_path too.
Other small improvements when using the squash tool from API