1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/cli/command/image
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
..
build.go Adds ability to squash image after build 2016-11-01 13:41:59 -04:00
cmd.go Add subcommand prune to the container, volume, image and system commands 2016-09-29 07:42:53 -07:00
history.go Restrict size to 2 fractional digits for docker images 2016-09-08 18:26:50 -07:00
import.go Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
inspect.go Fix typs from go to Go 2016-10-18 19:40:16 +08:00
list.go Move canonical image and container commands into a command group 2016-09-19 13:28:02 -04:00
load.go Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
prune.go better prune and system df 2016-10-11 00:42:21 +08:00
pull.go Remove remaining registry methods from DockerCLI. 2016-09-09 15:50:01 -04:00
push.go Remove remaining registry methods from DockerCLI. 2016-09-09 15:50:01 -04:00
remove.go Move canonical image and container commands into a command group 2016-09-19 13:28:02 -04:00
save.go Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
tag.go Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
trust.go Fix API incompatibilities between notary v0.3.0 and v0.4.2: 2016-10-14 17:53:34 -07:00
trust_test.go Move image trust related cli methods into the image package. 2016-09-09 10:50:16 -04:00