Skip to content

Commit 0a02fd5

Browse files
authored
Merge pull request opencontainers#25 from kinvolk/dongsu/string-substitutions
replace vendor-specific strings with neutral ones
2 parents 59d293a + 37d8f51 commit 0a02fd5

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

spec.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ An implementation is compliant if it satisfies all the MUST, MUST NOT, REQUIRED,
7171

7272
For relevant details and a history leading up to this specification, please see the following issues:
7373

74-
- [docker/docker#8093](https://github.com/docker/docker/issues/8093)
75-
- [docker/docker#9015](https://github.com/docker/docker/issues/9015)
74+
- [moby/moby#8093](https://github.com/moby/moby/issues/8093)
75+
- [moby/moby#9015](https://github.com/moby/moby/issues/9015)
7676
- [docker/docker-registry#612](https://github.com/docker/docker-registry/issues/612)
7777

7878
<!--- TODO: add relevant background information here --->
@@ -102,15 +102,15 @@ The following is an incomplete list of features, discussed during the process of
102102

103103
### Image Verification
104104

105-
A docker engine instance would like to run verified image named "library/ubuntu", with the tag "latest".
105+
A container engine would like to run verified image named "library/ubuntu", with the tag "latest".
106106
The engine contacts the registry, requesting the manifest for "library/ubuntu:latest".
107107
An untrusted registry returns a manifest.
108108
Before proceeding to download the individual layers, the engine verifies the manifest's signature, ensuring that the content was produced from a trusted source and no tampering has occurred.
109109
After each layer is downloaded, the engine verifies the digest of the layer, ensuring that the content matches that specified by the manifest.
110110

111111
### Resumable Push
112112

113-
Company X's build servers lose connectivity to docker registry before completing an image layer transfer.
113+
Company X's build servers lose connectivity to a distribution endpoint before completing an image layer transfer.
114114
After connectivity returns, the build server attempts to re-upload the image.
115115
The registry notifies the build server that the upload has already been partially attempted.
116116
The build server responds by only sending the remaining data to complete the image file.
@@ -123,7 +123,7 @@ The client keeps the partial data and uses http `Range` requests to avoid downlo
123123

124124
### Layer Upload De-duplication
125125

126-
Company Y's build system creates two identical docker layers from build processes A and B.
126+
Company Y's build system creates two identical layers from build processes A and B.
127127
Build process A completes uploading the layer before B.
128128
When process B attempts to upload the layer, the registry indicates that its not necessary because the layer is already known.
129129

@@ -161,7 +161,7 @@ More strictly, it must match the regular expression `[a-z0-9]+(?:[._-][a-z0-9]+)
161161
2. If a repository name has two or more path components, they must be separated by a forward slash ("/").
162162
3. The total length of a repository name, including slashes, must be less than 256 characters.
163163

164-
These name requirements _only_ apply to the registry API and should accept a superset of what is supported by other docker ecosystem components.
164+
These name requirements _only_ apply to the registry API and should accept a superset of what is supported by other components.
165165

166166
All endpoints should support aggressive http caching, compression and range headers, where appropriate.
167167
The new API attempts to leverage HTTP semantics where possible but may break from standards to implement targeted features.
@@ -294,7 +294,7 @@ For reference, the relevant manifest fields for the registry are the following:
294294
| fsLayers | A list of layer descriptors (including digest) |
295295
| signature | A JWS used to verify the manifest content |
296296

297-
For more information about the manifest format, please see [docker/docker#8093](https://github.com/docker/docker/issues/8093).
297+
For more information about the manifest format, please see [moby/moby#8093](https://github.com/moby/moby/issues/8093).
298298

299299
When the manifest is in hand, the client must verify the signature to ensure the names and layers are valid.
300300
Once confirmed, the client will then use the digests to download the individual layers.
@@ -316,7 +316,7 @@ For more details on the manifest formats and their content types, see [manifest-
316316
In a successful response, the Content-Type header will indicate which manifest type is being returned.
317317

318318
A `404 Not Found` response will be returned if the image is unknown to the registry.
319-
If the image exists and the response is successful, the image manifest will be returned, with the following format (see [docker/docker#8093](https://github.com/docker/docker/issues/8093) for details):
319+
If the image exists and the response is successful, the image manifest will be returned, with the following format (see [moby/moby#8093](https://github.com/moby/moby/issues/8093) for details):
320320

321321
{
322322
"name": <name>,
@@ -899,7 +899,7 @@ A list of methods and URIs are covered in the table below:
899899

900900
| Method | Path | Entity | Description |
901901
|--------|------------------------------------|----------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
902-
| GET | `/v2/` | Base | Check that the endpoint implements Docker Registry API V2. |
902+
| GET | `/v2/` | Base | Check that the endpoint implements distribution API. |
903903
| GET | `/v2/<name>/tags/list` | Tags | Fetch the tags under the repository identified by `name`. |
904904
| GET | `/v2/<name>/manifests/<reference>` | Manifest | Fetch the manifest identified by `name` and `reference` where `reference` can be a tag or digest. A `HEAD` request can also be issued to this endpoint to obtain resource information without receiving all data. |
905905
| PUT | `/v2/<name>/manifests/<reference>` | Manifest | Put the manifest identified by `name` and `reference` where `reference` can be a tag or digest. |
@@ -944,7 +944,7 @@ Typically, this can be used for lightweight version checks and to validate regis
944944

945945
#### GET Base
946946

947-
Check that the endpoint implements Docker Registry API V2.
947+
Check that the endpoint implements the distribution API.
948948

949949
```
950950
GET /v2/

0 commit comments

Comments
 (0)