Skip to content

Commit 6517c82

Browse files
authored
Merge pull request #614 from erikh/should
s/should/SHOULD/ in a few spots, also a s/should/must/
2 parents f17fdaf + 0e9d843 commit 6517c82

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

config.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Note: Any OPTIONAL field MAY also be set to null, which is equivalent to being a
112112

113113
- **config** *object*, OPTIONAL
114114

115-
The execution parameters which should be used as a base when running a container using the image.
115+
The execution parameters which SHOULD be used as a base when running a container using the image.
116116
This field can be `null`, in which case any execution parameters should be specified at creation of the container.
117117

118118
- **User** *string*, OPTIONAL
@@ -144,11 +144,11 @@ Note: Any OPTIONAL field MAY also be set to null, which is equivalent to being a
144144

145145
Default arguments to the entrypoint of the container.
146146
These values act as defaults and are replaced with any specified when creating a container.
147-
If an `Entrypoint` value is not specified, then the first entry of the `Cmd` array should be interpreted as the executable to run.
147+
If an `Entrypoint` value is not specified, then the first entry of the `Cmd` array SHOULD be interpreted as the executable to run.
148148

149149
- **Volumes** *object*, OPTIONAL
150150

151-
A set of directories which should be created as data volumes in a container running this image.
151+
A set of directories which SHOULD be created as data volumes in a container running this image.
152152
If a file or folder exists within the image with the same path as a data volume, that file or folder is replaced with the data volume and is never merged.
153153
**NOTE:** This JSON structure value is unusual because it is a direct JSON serialization of the Go type `map[string]struct{}` and is represented in JSON as an object mapping its keys to an empty object.
154154

@@ -212,7 +212,7 @@ Note: Any OPTIONAL field MAY also be set to null, which is equivalent to being a
212212
This field is used to mark if the history item created a filesystem diff.
213213
It is set to true if this history item doesn't correspond to an actual layer in the rootfs section (for example, Dockerfile's [ENV](https://docs.docker.com/engine/reference/builder/#/env) command results in no change to the filesystem).
214214

215-
Any extra fields in the Image JSON struct are considered implementation specific and should be ignored by any implementations which are unable to interpret them.
215+
Any extra fields in the Image JSON struct are considered implementation specific and MUST be ignored by any implementations which are unable to interpret them.
216216

217217
Whitespace is OPTIONAL and implementations MAY have compact JSON with no whitespace.
218218

image-layout.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The image layout is as follows:
1515

1616
- `blobs` directory
1717
- Contains content-addressable blobs
18-
- A blob has no schema and should be considered opaque
18+
- A blob has no schema and SHOULD be considered opaque
1919
- Directory MUST exist and MAY be empty
2020
- See [blobs](#blobs) section
2121
- `oci-layout` file

0 commit comments

Comments
 (0)