You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"($help)--default-stack-orchestrator=[Default orchestrator for stack operations to use with this context]:default-stack-orchestrator:(swarm kubernetes all)" \
2586
+
"($help)--description=[Description of the context]:description:" \
2587
+
"($help)--docker=[Set the docker endpoint]:docker:" \
2588
+
"($help)--kubernetes=[Set the kubernetes endpoint]:kubernetes:" \
2589
+
"($help)--from=[Create context from a named context]:from:__docker_complete_contexts" \
"($help)--default-stack-orchestrator=[Default orchestrator for stack operations to use with this context]:default-stack-orchestrator:(swarm kubernetes all)" \
2611
+
"($help)--description=[Description of the context]:description:" \
2612
+
"($help)--docker=[Set the docker endpoint]:docker:" \
2613
+
"($help)--kubernetes=[Set the kubernetes endpoint]:kubernetes:" \
Deprecated | [Classic Swarm and overlay networks using external key/value stores](#classic-swarm-and-overlay-networks-using-cluster-store) | v20.10 | -
57
58
Deprecated | [Support for the legacy `~/.dockercfg` configuration file for authentication](#support-for-legacy-dockercfg-configuration-files) | v20.10 | -
@@ -140,6 +141,16 @@ now stopped in favor of running docker natively on Linux in WSL2.
140
141
Developers who want to run Linux workloads on a Windows host are encouraged to use
141
142
[Docker Desktop with WSL2](https://docs.docker.com/docker-for-windows/wsl/) instead.
142
143
144
+
### BLKIO weight options with cgroups v1
145
+
146
+
**Deprecated in Release: v20.10**
147
+
148
+
Specifying blkio weight (`docker run --blkio-weight` and `docker run --blkio-weight-device`)
149
+
is now marked as deprecated when using cgroups v1 because the corresponding features
150
+
were [removed in Linux kernel v5.0 and up](https://github.com/torvalds/linux/commit/f382fb0bcef4c37dc049e9f6963e3baf204d815c).
151
+
When using cgroups v2, the `--blkio-weight` options are implemented using
Copy file name to clipboardExpand all lines: docs/reference/commandline/node_ls.md
+41-1Lines changed: 41 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,6 +60,7 @@ The currently supported filters are:
60
60
61
61
*[id](#id)
62
62
*[label](#label)
63
+
*[node.label](#nodelabel)
63
64
*[membership](#membership)
64
65
*[name](#name)
65
66
*[role](#role)
@@ -77,7 +78,10 @@ ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS
77
78
78
79
#### label
79
80
80
-
The `label` filter matches nodes based on engine labels and on the presence of a `label` alone or a `label` and a value. Node labels are currently not used for filtering.
81
+
The `label` filter matches nodes based on engine labels and on the presence of a
82
+
`label` alone or a `label` and a value. Engine labels are configured in
83
+
the [daemon configuration](dockerd.md#daemon-configuration-file). To filter on
84
+
Swarm `node` labels, use [`node.label` instead](#nodelabel).
81
85
82
86
The following filter matches nodes with the `foo` label regardless of its value.
83
87
@@ -88,6 +92,42 @@ ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS
88
92
1bcef6utixb0l0ca7gxuivsj0 swarm-worker2 Ready Active
89
93
```
90
94
95
+
#### node.label
96
+
97
+
The `node.label` filter matches nodes based on node labels and on the presence
98
+
of a `node.label` alone or a `node.label` and a value.
99
+
100
+
The following filter updates nodes to have a `region` node label:
0 commit comments