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: changes.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# OCI Distribution Specification Changes
2
2
3
-
This doc should be updated when changes are made to the specification, indicating what is different.
3
+
With the exception of de-minimis modifications (such as non-code impacting spelling corrections), this doc should be updated when changes are made to the specification, indicating what is different.
4
4
5
5
Each set of changes is given a letter corresponding to a set of modifications that were applied to the baseline specification.
6
6
These are merely for reference and shouldn't be used outside the specification other than to identify a set of modifications.
<!--- TODO: add relevant background information here --->
79
+
78
80
## Scope
79
81
80
82
This specification covers URL layout and protocols for interaction between a registry and registry client.
@@ -85,7 +87,7 @@ This specification includes the following features:
85
87
- Namespace-oriented URI Layout
86
88
- PUSH/PULL registry server for V2 image manifest format
87
89
- Resumable layer PUSH support
88
-
- V2 Client library implementation
90
+
- V2 Client (Consumer) requirements
89
91
90
92
### Future
91
93
@@ -154,9 +156,9 @@ The V2 registry API does not enforce this.
154
156
The rules for a repository name are as follows:
155
157
156
158
1. A repository name is broken up into _path components_.
157
-
A component of a repository name must be at least one lowercase, alpha-numeric characters, optionally separated by periods, dashes or underscores.
158
-
More strictly, it must match the regular expression `[a-z0-9]+(?:[._-][a-z0-9]+)*`.
159
-
2. If a repository name has two or more path components, they must be separated by a forward slash ("/").
159
+
A component of a repository name must begin with one or more lowercase alpha-numeric characters. Subsequent lowercase alpha-numeric characters are optional and may be separated by periods, dashes or underscores.
160
+
More strictly, it must match the regular expression `[a-z0-9]+(?:[._-][a-z0-9]+)*`.
161
+
2. If a repository name has two or more path components, they must be separated by a forward slash ("/").
160
162
3. The total length of a repository name, including slashes, must be less than 256 characters.
161
163
162
164
These name requirements _only_ apply to the registry API and should accept a superset of what is supported by other docker ecosystem components.
@@ -512,8 +514,7 @@ If this response is received, the client should resume from the "last valid rang
512
514
A 416 will be returned under the following conditions:
513
515
514
516
- Invalid Content-Range header format
515
-
- Out of order chunk: the range of the next chunk must start immediately after
516
-
the "last valid range" from the previous response.
517
+
- Out of order chunk: the range of the next chunk must start immediately after the "last valid range" from the previous response.
517
518
518
519
When a chunk is accepted as part of the upload, a `202 Accepted` response will be returned, including a `Range` header with the current upload status:
519
520
@@ -876,7 +877,7 @@ If the image exists and has been successfully deleted, the following response wi
876
877
877
878
If the image had already been deleted or did not exist, a `404 Not Found` response will be issued instead.
878
879
879
-
> **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:
880
+
> **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:
0 commit comments