docs: use == operator in node.labels constraint (#23522)

## Description

https://docs.docker.com/reference/compose-file/deploy/#placement

In this section, `node.labels` must be specified. Also, it must be `==`
and not a simple `=`, an error occurs without it:

```bash
failed to update service myapp_redis: Error response from daemon: rpc error: code = Unknown desc = constraint expected one operator from ==, !=
```
This commit is contained in:
Antoine C
2025-11-27 10:45:27 +01:00
committed by GitHub
parent c780cb7868
commit ab47fa4ee7

View File

@@ -98,7 +98,7 @@ For more detailed information about job options and behavior, see the [Docker CL
deploy:
placement:
constraints:
- disktype=ssd
- node.labels.disktype==ssd
```
#### `preferences`