DockerCLI/command
Brian Goff b90c048804 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
..
bundlefile Make experimental a runtime flag 2016-10-24 15:20:01 -07:00
checkpoint Allow providing a custom storage directory for docker checkpoints 2016-10-28 07:56:05 -04:00
commands Make experimental a runtime flag 2016-10-24 15:20:01 -07:00
container Generate container create response from swagger spec. 2016-10-31 11:16:02 -04:00
formatter Add unit tests to cli/command/formatter/stats.go 2016-10-27 18:00:38 +03:00
idresolver Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
image Adds ability to squash image after build 2016-11-01 13:41:59 -04:00
inspect add endpoint mode in service pretty 2016-09-27 18:41:19 +08:00
network add `docker network prune` 2016-10-25 06:43:54 +00:00
node make every node and plugin removal call api 2016-10-19 06:40:30 +08:00
plugin Make experimental a runtime flag 2016-10-24 15:20:01 -07:00
prune add `docker network prune` 2016-10-25 06:43:54 +00:00
registry Fix bunch of typos 2016-10-29 15:03:26 +08:00
service Service create --group param 2016-10-28 13:26:31 -07:00
stack Make experimental a runtime flag 2016-10-24 15:20:01 -07:00
swarm Fix bunch of typos 2016-10-29 15:03:26 +08:00
system add `docker network prune` 2016-10-25 06:43:54 +00:00
task fixes #27643 2016-10-28 08:02:57 +08:00
volume Use a config to generate swagger api types 2016-10-31 11:13:41 -04:00
cli.go Make experimental a runtime flag 2016-10-24 15:20:01 -07:00
events_utils.go Add subcommand prune to the container, volume, image and system commands 2016-09-29 07:42:53 -07:00
in.go Fix the incorrect description for NewInStream 2016-10-13 22:33:09 +08:00
out.go Windows: OCI process struct convergence 2016-09-19 10:34:31 -07:00
registry.go Remove remaining registry methods from DockerCLI. 2016-09-09 15:50:01 -04:00
trust.go Move image trust related cli methods into the image package. 2016-09-09 10:50:16 -04:00
utils.go return nil when no node or service to avoid additional api call 2016-10-11 10:59:16 +08:00