首页 > 解决方案 > 如何列出群模式节点?

问题描述

没有列表选项

docker swarm list

Usage:  docker swarm COMMAND

Manage Swarm

Commands:
  ca          Display and rotate the root CA
  init        Initialize a swarm
  join        Join a swarm as a node and/or manager
  join-token  Manage join tokens
  leave       Leave the swarm
  unlock      Unlock swarm
  unlock-key  Manage the unlock key
  update      Update the swarm

如何获取更多信息?

标签: dockerdocker-swarm

解决方案


查出。

docker node ls
ID                            HOSTNAME            STATUS              AVAILABILITY        MANAGER STATUS      ENGINE VERSION
iiq90umkuazv565mzw0imyycg *   miki                Ready               Active              Leader              18.09.6

推荐阅读