Skip to content

Commit 756744a

Browse files
authored
Merge pull request opencontainers#351 from coolljt0725/remove_dup
OPTIONAL field MAY be null
2 parents 07cc158 + ed30dc5 commit 756744a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

config.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ Since the [configuration JSON](#image-json) that gets hashed references hashes o
4848

4949
## Properties
5050

51+
Note: Any OPTIONAL field MAY also be set to null, which is equivalent to being absent.
52+
5153
- **created** *string*, OPTIONAL
5254

5355
An ISO-8601 formatted combined date and time at which the image was created.
@@ -113,7 +115,7 @@ Since the [configuration JSON](#image-json) that gets hashed references hashes o
113115
- **Entrypoint** *array of strings*, OPTIONAL
114116

115117
A list of arguments to use as the command to execute when the container starts.
116-
This value acts as a default and is replaced by an entrypoint specified when creating a container. This field MAY be null.
118+
This value acts as a default and is replaced by an entrypoint specified when creating a container.
117119

118120
- **Cmd** *array of strings*, OPTIONAL
119121

@@ -124,7 +126,6 @@ Since the [configuration JSON](#image-json) that gets hashed references hashes o
124126
- **Volumes** *object*, OPTIONAL
125127

126128
A set of directories which should be created as data volumes in a container running this image.
127-
This field MAY be null.
128129
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.
129130
**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.
130131

0 commit comments

Comments
 (0)