Issue #6916
closedLatest stable docker client (2.3.0.3) fails to create 'latest' tag
Description
With the latest stable docker client (2.3.0.3) installed, docker push
fails to make a PUT request to the API to create a latest
tag. This later causes a docker pull
operation to fail, because there is no latest
tag.
When using podman to push the image, it uploads all the blobs first (which the docker client does as well), and then it makes 2 additional PUT calls. one to create a manifest. and another to create a tag pointing at the the manifest. The same is expected from the docker client.
The root cause seems to be the Nginx config having client_max_body_size set to 1MB. Bumping this. to unlimited resolved the problem.
Updated by pulpbot over 4 years ago
- Status changed from NEW to POST
Updated by dkliban@redhat.com over 4 years ago
- Assignee set to dkliban@redhat.com
- Triaged changed from No to Yes
- Sprint set to Sprint 74
Added by dkliban@redhat.com over 4 years ago
Added by dkliban@redhat.com over 4 years ago
Revision 18d45dfe | View on GitHub
Sets client_max_body_size to 0, unlimited for nginx
The default value for client_max_body_size is 1mb. We need it to be unlimited.
Apache's equivalent is LimitRequestBody and it defaults to unlimited.
This patch updates the 'push' test to use a large image that would require this setting to be set.
This patch also adds an additional 'pull' operation to the 'push' test to verify that the pushed image can be pulled back from the registry.
Updated by dkliban@redhat.com over 4 years ago
- Status changed from POST to MODIFIED
Applied in changeset 18d45dfe203920026832570052cbd30c9e992129.
Updated by dkliban@redhat.com over 4 years ago
Applied in changeset pulp_container|18d45dfe203920026832570052cbd30c9e992129.
Updated by pulpbot over 4 years ago
Updated by mdellweg over 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Sets client_max_body_size to 0, unlimited for nginx
The default value for client_max_body_size is 1mb. We need it to be unlimited.
Apache's equivalent is LimitRequestBody and it defaults to unlimited.
This patch updates the 'push' test to use a large image that would require this setting to be set.
This patch also adds an additional 'pull' operation to the 'push' test to verify that the pushed image can be pulled back from the registry.
fixes: #6916 https://pulp.plan.io/issues/6916