Add a note to the delete manifest section to aid getting the correct

digest to delete manifests.

Signed-off-by: Richard Scothern <richard.scothern@docker.com>
This commit is contained in:
Richard Scothern 2016-03-30 10:52:43 -07:00
parent f4b6fc8d68
commit 9b5caf64cf
2 changed files with 16 additions and 0 deletions

View File

@ -1096,6 +1096,14 @@ issued:
If the image had already been deleted or did not exist, a `404 Not Found`
response will be issued instead.
> **Note** When deleting a manifest from a registry version 2.3 or later, the
> following header must be used when `HEAD` or `GET`-ing the manifest to obtain
> the correct digest to delete:
Accept: application/vnd.docker.distribution.manifest.v2+json
> for more details, see: [compatibility.md](../compatibility.md#content-addressable-storage-cas)
## Detail
> **Note**: This section is still under construction. For the purposes of

View File

@ -1096,6 +1096,14 @@ issued:
If the image had already been deleted or did not exist, a `404 Not Found`
response will be issued instead.
> **Note** When deleting a manifest from a registry version 2.3 or later, the
> following header must be used when `HEAD` or `GET`-ing the manifest to obtain
> the correct digest to delete:
Accept: application/vnd.docker.distribution.manifest.v2+json
> for more details, see: [compatibility.md](../compatibility.md#content-addressable-storage-cas)
## Detail
> **Note**: This section is still under construction. For the purposes of