@@ -373,7 +373,7 @@ Create a container
373373- ** OpenStdin** - Boolean value, opens ` stdin ` ,
374374- ** StdinOnce** - Boolean value, close ` stdin ` after the 1 attached client disconnects.
375375- ** Env** - A list of environment variables in the form of ` ["VAR=value", ...] `
376- - ** Labels** - Adds a map of labels to a container. To specify a map: ` {"key":"value"[,"key2":"value2"] } `
376+ - ** Labels** - Adds a map of labels to a container. To specify a map: ` {"key":"value", ... } `
377377- ** Cmd** - Command to run specified as a string or an array of strings.
378378- ** Entrypoint** - Set the entry point for the container as a string or an array
379379 of strings. If the array consists of exactly one empty string (` [""] ` ) then the entry point
@@ -4141,7 +4141,7 @@ JSON Parameters:
41414141- **Annotations** – Optional medata to associate with the service.
41424142 - **Name** – User-defined name for the service.
41434143 - **Labels** – A map of labels to associate with the service (e.g.,
4144- `{"key":"value"[, "key2":"value2"] }`).
4144+ `{"key":"value", "key2":"value2"}`).
41454145- **Role** - Role of the node (worker/manager).
41464146- **Availability** - Availability of the node (active/pause/drain).
41474147
@@ -4634,7 +4634,7 @@ image](docker_remote_api_v1.25.md#create-an-image) section for more details.
46344634**JSON Parameters**:
46354635
46364636- **Name** – User-defined name for the service.
4637- - **Labels** – A map of labels to associate with the service (e.g., `{"key":"value"[, "key2":"value2"] }`).
4637+ - **Labels** – A map of labels to associate with the service (e.g., `{"key":"value", "key2":"value2"}`).
46384638- **TaskTemplate** – Specification of the tasks to start as part of the new service.
46394639 - **ContainerSpec** - Container settings for containers started as part of this task.
46404640 - **Image** – A string specifying the image name to use for the container.
@@ -4644,7 +4644,7 @@ image](docker_remote_api_v1.25.md#create-an-image) section for more details.
46444644 - **Dir** – A string specifying the working directory for commands to run in.
46454645 - **User** – A string value specifying the user inside the container.
46464646 - **Labels** – A map of labels to associate with the service (e.g.,
4647- `{"key":"value"[, "key2":"value2"] }`).
4647+ `{"key":"value", "key2":"value2"}`).
46484648 - **Mounts** – Specification for mounts to be added to containers
46494649 created as part of the service.
46504650 - **Target** – Container path.
@@ -4874,7 +4874,7 @@ image](docker_remote_api_v1.25.md#create-an-image) section for more details.
48744874**JSON Parameters**:
48754875
48764876- **Name** – User-defined name for the service.
4877- - **Labels** – A map of labels to associate with the service (e.g., `{"key":"value"[, "key2":"value2"] }`).
4877+ - **Labels** – A map of labels to associate with the service (e.g., `{"key":"value", "key2":"value2"}`).
48784878- **TaskTemplate** – Specification of the tasks to start as part of the new service.
48794879 - **ContainerSpec** - Container settings for containers started as part of this task.
48804880 - **Image** – A string specifying the image name to use for the container.
@@ -4884,7 +4884,7 @@ image](docker_remote_api_v1.25.md#create-an-image) section for more details.
48844884 - **Dir** – A string specifying the working directory for commands to run in.
48854885 - **User** – A string value specifying the user inside the container.
48864886 - **Labels** – A map of labels to associate with the service (e.g.,
4887- `{"key":"value"[, "key2":"value2"] }`).
4887+ `{"key":"value", "key2":"value2"}`).
48884888 - **Mounts** – Specification for mounts to be added to containers created as part of the new
48894889 service.
48904890 - **Target** – Container path.
0 commit comments