docker cluster rm


Remove a cluster

This command is only available on Docker Enterprise Edition.

Learn more about Docker Enterprise products.


$ docker cluster rm [OPTIONS] cluster


Name, shorthand Default Description
--env , -e Set environment variables
--force , -f Force removal of the cluster files
--dry-run Skip provisioning resources
--log-level warn Set the logging level ("trace"|"debug"|"info"|"warn"|"error"|"fatal")

Parent command

Command Description
docker cluster Docker Cluster
Command Description
docker cluster backup Backup a running cluster
docker cluster create Create a new Docker Cluster
docker cluster inspect Display detailed information about a cluster
docker cluster ls List all available clusters
docker cluster restore Restore a cluster from a backup
docker cluster rm Remove a cluster
docker cluster update Update a running cluster’s desired state
docker cluster version Print Version, Commit, and Build type