Files
docker-cli/components/engine/graph
Aaron Lehmann 566b3febc4 Fix layer compression regression
PR #15493 removed compression of layers when pushing them to a V2
registry. This this makes layer uploads larger than they should be.

This commit restores the compression. It uses an io.Pipe to turn the
gzip compressor output Writer into a Reader, so the ReadFrom method can
be used on the BlobWriter (which is very important for avoiding many
PATCH requests per layer).

Fixes #17209
Fixes #17038

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
Upstream-commit: 4dce280d96797b6a82e3eb54243e21bce7f55e5d
Component: engine
2015-10-21 09:21:14 -07:00
..
2015-09-09 19:03:53 +08:00
2015-10-12 10:51:28 -07:00
2015-10-16 15:34:35 -07:00
2015-10-12 10:51:28 -07:00
2015-10-21 09:21:14 -07:00
2015-10-16 15:34:35 -07:00
2015-10-12 10:51:28 -07:00
2015-10-15 20:41:35 -07:00