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: config.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,7 +111,7 @@ Since the [configuration JSON](#image-json) that gets hashed references hashes o
111
111
-**Entrypoint***array of strings*, OPTIONAL
112
112
113
113
A list of arguments to use as the command to execute when the container starts.
114
-
This value acts as a default and is replaced by an entrypoint specified when creating a container. This field MAY be null.
114
+
This value acts as a default and is replaced by an entrypoint specified when creating a container.
115
115
116
116
-**Cmd***array of strings*, OPTIONAL
117
117
@@ -121,7 +121,7 @@ Since the [configuration JSON](#image-json) that gets hashed references hashes o
121
121
122
122
-**Volumes***object*, OPTIONAL
123
123
124
-
A set of directories which should be created as data volumes in a container running this image. This field MAY be null.
124
+
A set of directories which should be created as data volumes in a container running this image.
125
125
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. **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.
126
126
127
127
-**WorkingDir***string*, OPTIONAL
@@ -174,6 +174,7 @@ Any extra fields in the Image JSON struct are considered implementation specific
174
174
175
175
Whitespace is OPTIONAL and implementations MAY have compact JSON with no whitespace.
176
176
177
+
The OPTIONAL field MAY be null, it means this field present but having an empty/null value.
177
178
## Example
178
179
179
180
Here is an example image configuration JSON document:
0 commit comments