如何列出群模式节点?

时间:2019-06-19 10:03:40

标签: docker docker-swarm

没有列表选项

use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Extbase\Utility\DebuggerUtility;


$queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class)
    ->getQueryBuilderForTable('table_to_select_from');

$result = $queryBuilder->select('*')
        ->from('table_to_select_from')
        ->where($queryBuilder->expr()->in('field', ['1','2','3'])
        ->execute()
        ->fetchAll();

DebuggerUtility::var_dump($result);

如何获取更多信息?

1 个答案:

答案 0 :(得分:0)

查找。

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