mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-03-03 01:40:19 +00:00
375 B
375 B
class: node-info
Getting task information for a given node
-
You can see all the tasks assigned to a node with
docker node ps -
It shows the desired state and current state of each task
-
docker node psshows info about the current node -
docker node ps <node_name_or_id>shows info for another node -
docker node ps -aincludes stopped and failed tasks