Skip to content

Releases: goldmann/docker-squash

1.0.0rc2

29 Mar 15:15
Compare
Choose a tag to compare
1.0.0rc2 Pre-release
Pre-release

Enhancements

  • 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.

1.0.0rc1

18 Mar 11:33
Compare
Choose a tag to compare
1.0.0rc1 Pre-release
Pre-release

Enhancements

  • 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.
  • The layers sub-command doesn't work (yet)

0.4.4

19 Oct 12:24
Compare
Choose a tag to compare
  • 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

0.4.3

07 Aug 07:40
Compare
Choose a tag to compare
  • Uses AutoVersionClient to not fail when there is a mismatch between version of docker-py and the server
  • Does not fail with stacktrace when no image is specified
  • Version information is now printed on execution

0.4.2

11 Jun 11:24
Compare
Choose a tag to compare
  • Make sure we do not include ./ as the prefix for files in the squashed tar, thanks @TomasTomecek!
  • Squashed layers has now a proper VERSION file
  • Fixed metadata size parameter

0.4.1

29 May 21:46
Compare
Choose a tag to compare
  • Work on correct image JSON metadata (#28)

0.4.0

27 May 13:31
Compare
Choose a tag to compare
  • Reworked the squashing algorithm
  • Make loading image optional, use --output-path to specify a path where the image should be stored as TAR file instead loading to Docker daemon
  • First unit tests added
  • First integration tests added
  • Docker timeout bumped to 10 minutes, now it's configurable using DOCKER_TIMEOUT environment variable
  • Fixed issue where on AUFS the marker files that were added at the end failed to load the image into Dameon (#22)

0.3.6

14 May 07:11
Compare
Choose a tag to compare
0.3.6 Pre-release
Pre-release
  • Make sure it can work with older six package
  • Add --version switch

0.3.3

13 May 09:24
Compare
Choose a tag to compare
0.3.3 Pre-release
Pre-release
  • Support for Python 3
  • Fixed #13 where non-string PAX headers could fail squashing

0.3.2

12 May 09:28
Compare
Choose a tag to compare
0.3.2 Pre-release
Pre-release

Fixed issue with installing from PyPi