@@ -375,7 +375,7 @@ Create a container
375375- ** OpenStdin** - Boolean value, opens ` stdin ` ,
376376- ** StdinOnce** - Boolean value, close ` stdin ` after the 1 attached client disconnects.
377377- ** Env** - A list of environment variables in the form of ` ["VAR=value", ...] `
378- - ** Labels** - Adds a map of labels to a container. To specify a map: ` {"key":"value"[,"key2":"value2"] } `
378+ - ** Labels** - Adds a map of labels to a container. To specify a map: ` {"key":"value", ... } `
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
381381 of strings. If the array consists of exactly one empty string (` [""] ` ) then the entry point
@@ -4537,7 +4537,7 @@ JSON Parameters:
45374537- **Annotations** – Optional medata to associate with the service.
45384538 - **Name** – User-defined name for the service.
45394539 - **Labels** – A map of labels to associate with the service (e.g.,
4540- `{"key":"value"[, "key2":"value2"] }`).
4540+ `{"key":"value", "key2":"value2"}`).
45414541- **Role** - Role of the node (worker/manager).
45424542- **Availability** - Availability of the node (active/pause/drain).
45434543
@@ -5030,7 +5030,7 @@ image](#create-an-image) section for more details.
50305030**JSON Parameters**:
50315031
50325032- **Name** – User-defined name for the service.
5033- - **Labels** – A map of labels to associate with the service (e.g., `{"key":"value"[, "key2":"value2"] }`).
5033+ - **Labels** – A map of labels to associate with the service (e.g., `{"key":"value", "key2":"value2"}`).
50345034- **TaskTemplate** – Specification of the tasks to start as part of the new service.
50355035 - **ContainerSpec** - Container settings for containers started as part of this task.
50365036 - **Image** – A string specifying the image name to use for the container.
@@ -5040,7 +5040,7 @@ image](#create-an-image) section for more details.
50405040 - **Dir** – A string specifying the working directory for commands to run in.
50415041 - **User** – A string value specifying the user inside the container.
50425042 - **Labels** – A map of labels to associate with the service (e.g.,
5043- `{"key":"value"[, "key2":"value2"] }`).
5043+ `{"key":"value", "key2":"value2"}`).
50445044 - **Mounts** – Specification for mounts to be added to containers
50455045 created as part of the service.
50465046 - **Target** – Container path.
@@ -5272,7 +5272,7 @@ image](#create-an-image) section for more details.
52725272**JSON Parameters**:
52735273
52745274- **Name** – User-defined name for the service.
5275- - **Labels** – A map of labels to associate with the service (e.g., `{"key":"value"[, "key2":"value2"] }`).
5275+ - **Labels** – A map of labels to associate with the service (e.g., `{"key":"value", "key2":"value2"}`).
52765276- **TaskTemplate** – Specification of the tasks to start as part of the new service.
52775277 - **ContainerSpec** - Container settings for containers started as part of this task.
52785278 - **Image** – A string specifying the image name to use for the container.
@@ -5282,7 +5282,7 @@ image](#create-an-image) section for more details.
52825282 - **Dir** – A string specifying the working directory for commands to run in.
52835283 - **User** – A string value specifying the user inside the container.
52845284 - **Labels** – A map of labels to associate with the service (e.g.,
5285- `{"key":"value"[, "key2":"value2"] }`).
5285+ `{"key":"value", "key2":"value2"}`).
52865286 - **Mounts** – Specification for mounts to be added to containers created as part of the new
52875287 service.
52885288 - **Target** – Container path.
0 commit comments