Bug#1010746: ITP: docker-squash -- Squashing helps with organizing docker images in logical layers
Package: wnpp
Severity: wishlist
Owner: Sascha Girrulat <sascha@girrulat.de>
X-Debbugs-Cc: debian-devel@lists.debian.org
* Package name : docker-squash
Version : 1.0.9
Upstream Author : Marek Goldmann
* URL : https://github.com/goldmann/docker-squash
* License : MIT
Programming Lang: Python
Description : Helps with organizing docker images layers
Docker creates many layers while building the image. Sometimes it's not
necessary or desireable to have them in the image. For example a
Dockerfile ADD instruction creates a single layer with files you want to
make available in the image. Docker will carry this layer always with the image,
even if you delete these files in next layer.
.
Squashing helps with organizing images in logical layers. Instead of
having an image with multiple (sometimes) unnecessary layers.
.
Docker-squash can
.
* squash last n layers from an image
* squash from a selected layer to the end (not always possible, depends on the image)
* support for Docker 1.9 or newer (older releases may run perfectly fine too, try it!)
* the image can be loaded back to the Docker daemon or stored as tar archive somewhere
Reply to: