Remove --name flag from service update
The --name flag was inadvertently added to docker service update, but is not supported, as it has various side-effects (e.g., existing tasks are not renamed). This removes the flag from the service update command. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: 047e44eeb186a8bde41765a44c5966a150fa84f3 Component: engine
This commit is contained in:
@ -4846,7 +4846,7 @@ image](#create-an-image) section for more details.
|
||||
|
||||
**JSON Parameters**:
|
||||
|
||||
- **Name** – User-defined name for the service.
|
||||
- **Name** – User-defined name for the service. Note that renaming services is not supported.
|
||||
- **Labels** – A map of labels to associate with the service (e.g., `{"key":"value", "key2":"value2"}`).
|
||||
- **TaskTemplate** – Specification of the tasks to start as part of the new service.
|
||||
- **ContainerSpec** - Container settings for containers started as part of this task.
|
||||
|
||||
@ -5375,7 +5375,7 @@ image](#create-an-image) section for more details.
|
||||
|
||||
**JSON Parameters**:
|
||||
|
||||
- **Name** – User-defined name for the service.
|
||||
- **Name** – User-defined name for the service. Note that renaming services is not supported.
|
||||
- **Labels** – A map of labels to associate with the service (e.g., `{"key":"value", "key2":"value2"}`).
|
||||
- **TaskTemplate** – Specification of the tasks to start as part of the new service.
|
||||
- **ContainerSpec** - Container settings for containers started as part of this task.
|
||||
|
||||
Reference in New Issue
Block a user