Skip to content

Commit 6f8d11d

Browse files
authored
Merge pull request moby#27428 from thaJeztah/improve-example-format
Improve example for env vars in API docs
2 parents 319a929 + 441c941 commit 6f8d11d

8 files changed

Lines changed: 8 additions & 8 deletions

docs/reference/api/docker_remote_api_v1.18.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ Create a container
210210
- **Tty** - Boolean value, Attach standard streams to a `tty`, including `stdin` if it is not closed.
211211
- **OpenStdin** - Boolean value, opens `stdin`,
212212
- **StdinOnce** - Boolean value, close `stdin` after the 1 attached client disconnects.
213-
- **Env** - A list of environment variables in the form of `["VAR=value"[,"VAR2=value2"]]`
213+
- **Env** - A list of environment variables in the form of `["VAR=value", ...]`
214214
- **Labels** - Adds a map of labels to a container. To specify a map: `{"key":"value"[,"key2":"value2"]}`
215215
- **Cmd** - Command to run specified as a string or an array of strings.
216216
- **Entrypoint** - Set the entry point for the container as a string or an array

docs/reference/api/docker_remote_api_v1.19.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ Create a container
215215
- **Tty** - Boolean value, Attach standard streams to a `tty`, including `stdin` if it is not closed.
216216
- **OpenStdin** - Boolean value, opens `stdin`,
217217
- **StdinOnce** - Boolean value, close `stdin` after the 1 attached client disconnects.
218-
- **Env** - A list of environment variables in the form of `["VAR=value"[,"VAR2=value2"]]`
218+
- **Env** - A list of environment variables in the form of `["VAR=value", ...]`
219219
- **Labels** - Adds a map of labels to a container. To specify a map: `{"key":"value"[,"key2":"value2"]}`
220220
- **Cmd** - Command to run specified as a string or an array of strings.
221221
- **Entrypoint** - Set the entry point for the container as a string or an array

docs/reference/api/docker_remote_api_v1.20.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ Create a container
217217
- **Tty** - Boolean value, Attach standard streams to a `tty`, including `stdin` if it is not closed.
218218
- **OpenStdin** - Boolean value, opens `stdin`,
219219
- **StdinOnce** - Boolean value, close `stdin` after the 1 attached client disconnects.
220-
- **Env** - A list of environment variables in the form of `["VAR=value"[,"VAR2=value2"]]`
220+
- **Env** - A list of environment variables in the form of `["VAR=value", ...]`
221221
- **Labels** - Adds a map of labels to a container. To specify a map: `{"key":"value"[,"key2":"value2"]}`
222222
- **Cmd** - Command to run specified as a string or an array of strings.
223223
- **Entrypoint** - Set the entry point for the container as a string or an array

docs/reference/api/docker_remote_api_v1.21.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ Create a container
226226
- **Tty** - Boolean value, Attach standard streams to a `tty`, including `stdin` if it is not closed.
227227
- **OpenStdin** - Boolean value, opens `stdin`,
228228
- **StdinOnce** - Boolean value, close `stdin` after the 1 attached client disconnects.
229-
- **Env** - A list of environment variables in the form of `["VAR=value"[,"VAR2=value2"]]`
229+
- **Env** - A list of environment variables in the form of `["VAR=value", ...]`
230230
- **Labels** - Adds a map of labels to a container. To specify a map: `{"key":"value"[,"key2":"value2"]}`
231231
- **Cmd** - Command to run specified as a string or an array of strings.
232232
- **Entrypoint** - Set the entry point for the container as a string or an array

docs/reference/api/docker_remote_api_v1.22.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ Create a container
329329
- **Tty** - Boolean value, Attach standard streams to a `tty`, including `stdin` if it is not closed.
330330
- **OpenStdin** - Boolean value, opens `stdin`,
331331
- **StdinOnce** - Boolean value, close `stdin` after the 1 attached client disconnects.
332-
- **Env** - A list of environment variables in the form of `["VAR=value"[,"VAR2=value2"]]`
332+
- **Env** - A list of environment variables in the form of `["VAR=value", ...]`
333333
- **Labels** - Adds a map of labels to a container. To specify a map: `{"key":"value"[,"key2":"value2"]}`
334334
- **Cmd** - Command to run specified as a string or an array of strings.
335335
- **Entrypoint** - Set the entry point for the container as a string or an array

docs/reference/api/docker_remote_api_v1.23.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ Create a container
352352
- **Tty** - Boolean value, Attach standard streams to a `tty`, including `stdin` if it is not closed.
353353
- **OpenStdin** - Boolean value, opens `stdin`,
354354
- **StdinOnce** - Boolean value, close `stdin` after the 1 attached client disconnects.
355-
- **Env** - A list of environment variables in the form of `["VAR=value"[,"VAR2=value2"]]`
355+
- **Env** - A list of environment variables in the form of `["VAR=value", ...]`
356356
- **Labels** - Adds a map of labels to a container. To specify a map: `{"key":"value"[,"key2":"value2"]}`
357357
- **Cmd** - Command to run specified as a string or an array of strings.
358358
- **Entrypoint** - Set the entry point for the container as a string or an array

docs/reference/api/docker_remote_api_v1.24.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ Create a container
369369
- **Tty** - Boolean value, Attach standard streams to a `tty`, including `stdin` if it is not closed.
370370
- **OpenStdin** - Boolean value, opens `stdin`,
371371
- **StdinOnce** - Boolean value, close `stdin` after the 1 attached client disconnects.
372-
- **Env** - A list of environment variables in the form of `["VAR=value"[,"VAR2=value2"]]`
372+
- **Env** - A list of environment variables in the form of `["VAR=value", ...]`
373373
- **Labels** - Adds a map of labels to a container. To specify a map: `{"key":"value"[,"key2":"value2"]}`
374374
- **Cmd** - Command to run specified as a string or an array of strings.
375375
- **Entrypoint** - Set the entry point for the container as a string or an array

docs/reference/api/docker_remote_api_v1.25.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ Create a container
374374
- **Tty** - Boolean value, Attach standard streams to a `tty`, including `stdin` if it is not closed.
375375
- **OpenStdin** - Boolean value, opens `stdin`,
376376
- **StdinOnce** - Boolean value, close `stdin` after the 1 attached client disconnects.
377-
- **Env** - A list of environment variables in the form of `["VAR=value"[,"VAR2=value2"]]`
377+
- **Env** - A list of environment variables in the form of `["VAR=value", ...]`
378378
- **Labels** - Adds a map of labels to a container. To specify a map: `{"key":"value"[,"key2":"value2"]}`
379379
- **Cmd** - Command to run specified as a string or an array of strings.
380380
- **Entrypoint** - Set the entry point for the container as a string or an array

0 commit comments

Comments
 (0)