Feedback for: engine/reference/commandline/node_ps.md #384
Closed
Description
URL: https://docs.docker.com/engine/reference/commandline/node_ps.md
In the filter
section:
$ docker node ps -f "label=usage"
ID NAME SERVICE IMAGE LAST STATE DESIRED STATE NODE
b465edgho06e318egmgjbqo4o redis.6 redis redis:3.0.6 Running 10 minutes Running swarm-manager1
bg8c07zzg87di2mufeq51a2qp redis.7 redis redis:3.0.6 Running 9 minutes Running swarm-manager1
Which labels are the docker node ps -f
filter on? It's container label
? service label
? node label
?
The statement said:
The label filter matches tasks based on the presence of a label alone or a label and a value.
Is there a task label
? I didn't find any command can add a task label
to a task.