此内容还未提供中文版,以下为英文版

docker swarm

预计阅读时间: 1 分钟

Edge only: This is the CLI reference for Docker CE Edge versions. Some of these options may not be available to Docker CE stable or Docker EE. You can view the stable version of this CLI reference or learn about Docker CE Edge.

Description

Manage Swarm

Usage

docker swarm COMMAND

Child commands

Command Description
docker swarm ca Manage root CA
docker swarm init Initialize a swarm
docker swarm join Join a swarm as a node and/or manager
docker swarm join-token Manage join tokens
docker swarm leave Leave the swarm
docker swarm unlock Unlock swarm
docker swarm unlock-key Manage the unlock key
docker swarm update Update the swarm

Parent command

Command Description
docker The base command for the Docker CLI.

Extended description

Manage the swarm.