moby--moby/layer
Brian Goff 362369b4bb Adds ability to squash image after build
Allow built images to be squash to scratch.
Squashing does not destroy any images or layers, and preserves the
build cache.

Introduce a new CLI argument --squash to docker build
Introduce a new param to the build API endpoint `squash`

Once the build is complete, docker creates a new image loading the diffs
from each layer into a single new layer and references all the parent's
layers.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2016-11-01 13:41:59 -04:00
..
empty.go Adds ability to squash image after build 2016-11-01 13:41:59 -04:00
empty_test.go
filestore.go Update layer store to sync transaction files before committing 2016-08-09 11:55:17 -07:00
filestore_test.go *: remove unused stuff 2016-03-14 18:41:30 +01:00
layer.go Adds ability to squash image after build 2016-11-01 13:41:59 -04:00
layer_store.go pkg/archive: remove unnecessary Archive and Reader type 2016-10-20 19:31:24 -07:00
layer_store_windows.go Use describable interfaces 2016-06-06 17:49:34 -07:00
layer_test.go Make graphdrivers work with pluginv2. 2016-09-20 08:49:48 -07:00
layer_unix.go Use describable interfaces 2016-06-06 17:49:34 -07:00
layer_unix_test.go Verify layer tarstream 2016-02-17 14:26:16 -05:00
layer_windows.go Use describable interfaces 2016-06-06 17:49:34 -07:00
migration.go Merge pull request #20458 from aaronlehmann/migration-close-gzip-writer 2016-02-18 16:48:50 -08:00
migration_test.go pkg/archive: remove unnecessary Archive and Reader type 2016-10-20 19:31:24 -07:00
mount_test.go CLI flag for docker create(run) to change block device size. 2016-03-28 10:05:18 -04:00
mounted_layer.go Adds ability to squash image after build 2016-11-01 13:41:59 -04:00
ro_layer.go Adds ability to squash image after build 2016-11-01 13:41:59 -04:00
ro_layer_windows.go Use describable interfaces 2016-06-06 17:49:34 -07:00