docker - 如何列出群模式节点?
问题描述
没有列表选项
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
如何获取更多信息?
解决方案
查出。
docker node ls
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS ENGINE VERSION
iiq90umkuazv565mzw0imyycg * miki Ready Active Leader 18.09.6
推荐阅读
- python - 树莓派上的python3.5
- c# - C# - 不能在派生类构造函数中设置只读属性和字段
- node.js - Firebase 管理员 SDK getaddrinfo ENOTFOUND metadata.google.internal。错误代码:ENOTFOUND"
- python - pytorch 中的前向传递和推理有何不同?
- python - Python - 时间单位转换的最佳实践
- sql - Netezza 存储过程中使用字符串的多行语句
- python - 如何使用 Python 函数将多个值添加到键中
- python - 在 RDD Table-Pyspark 左侧添加列
- java - Parsing map JSON value and reinserting back into map
- javascript - 如何为 JS 对象赋值?