You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/reference/api/registry/latest.yaml
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -119,14 +119,14 @@ tags:
119
119
120
120
2. [Check if the blob exists](#operation/CheckBlobExists) using a `HEAD` request for each blob digest.
121
121
122
-
3. If the blob does not exist, [upload the blob](#operation=CompleteBlobUpload) using a monolithic `PUT` request:
123
-
- First, [initiate the upload](#operation=InitiateBlobUpload) with `POST`.
124
-
- Then [upload and complete](#operation=CompleteBlobUpload) with `PUT`.
122
+
3. If the blob does not exist, [upload the blob](#operation/CompleteBlobUpload) using a monolithic `PUT` request:
123
+
- First, [initiate the upload](#operation/InitiateBlobUpload) with `POST`.
124
+
- Then [upload and complete](#operation/CompleteBlobUpload) with `PUT`.
125
125
126
-
**Note**: Alternatively, you can upload the blob in multiple chunks by using `PATCH` requests to send each chunk, followed by a final `PUT` request to complete the upload. This is known as a [chunked upload](#operation=UploadBlobChunk) and is useful for large blobs or when resuming interrupted uploads.
126
+
**Note**: Alternatively, you can upload the blob in multiple chunks by using `PATCH` requests to send each chunk, followed by a final `PUT` request to complete the upload. This is known as a [chunked upload](#operation/UploadBlobChunk) and is useful for large blobs or when resuming interrupted uploads.
127
127
128
128
129
-
4. [Upload the image manifest](#operation=PutImageManifest) using a `PUT` request to associate the config and layers.
129
+
4. [Upload the image manifest](#operation/PutImageManifest) using a `PUT` request to associate the config and layers.
130
130
131
131
The following bash script example pushes a dummy config blob and manifest to `yourusername/helloworld:latest` on Docker Hub. You can replace `yourusername` with your Docker Hub username and `dckr_pat` with your Docker Hub personal access token.
132
132
@@ -203,9 +203,9 @@ tags:
203
203
This section outlines the basic steps to delete an image using the registry API.
204
204
205
205
1. [Get a bearer token for the repository](https://docs.docker.com/reference/api/registry/auth/).
206
-
2. [Get the manifest](#operation=GetImageManifest) using the image's tag.
206
+
2. [Get the manifest](#operation/GetImageManifest) using the image's tag.
207
207
3. Retrieve the `Docker-Content-Digest` header from the manifest response. This digest uniquely identifies the manifest.
208
-
4. [Delete the manifest](#operation=DeleteImageManifest) using a `DELETE` request and the digest.
208
+
4. [Delete the manifest](#operation/DeleteImageManifest) using a `DELETE` request and the digest.
209
209
210
210
The following bash script example deletes the `latest` tag from `yourusername/helloworld` on Docker Hub. Replace `yourusername` with your Docker Hub username and `dckr_pat` with your Docker Hub personal access token.
0 commit comments