566b3febc433988a920def08f48bc9ccec80a97c
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
Description
No description provided
310 MiB
Languages
Go
92%
Shell
5.5%
Dockerfile
1.1%
Go-Checksums
0.9%
Makefile
0.3%
Other
0.2%