docker swarm leave

Estimated reading time: 1 minute

Description

Leave the swarm

Usage

docker swarm leave [OPTIONS]

Options

Name, shorthand Default Description
--force, -f false Force this node to leave the swarm, ignoring warnings

Parent command

Command Description
docker swarm Manage Swarm
Command Description
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
chat icon Feedback? Suggestions? Can't find something in the docs?
Edit this page Request docs changes Get support
Rate this page: