Layers are saved in gzip format when images are uploaded
It looks like Pulp uses gzip to compress layers when they are uploaded. However, no such compression occurs on the sync.
#2 Updated by mhrivnak over 5 years ago
This is just because the format of data output by "docker save" is different than the format of data made available by the v1 API. When doing a sync, the layers retrieved have already been compressed. For unknown reasons, the output of "docker save" created uncompressed files. I think pulp's behavior is correct, unless you saw something to the contrary?
#6 Updated by firstname.lastname@example.org over 5 years ago
- Status changed from NEW to CLOSED - NOTABUG
I don't have an example of how this adversely affects docker client when accessing the repos. The problem that was being observed was due to a misconfiguration of the web server that was serving the images. The Content-Encoding header was getting set to x-gzip all the time - even when the layer was not gzipped. This is not a bug in pulp docker.
Please register to edit this issue