moby--moby/docs/reference/commandline/node_rm.md

688 B

node rm

Usage:  docker node rm NODE [NODE...]

Remove a node from the swarm

Aliases:
  rm, remove

Options:
      --help   Print usage

Removes specified nodes from a swarm. Rejects nodes with Pending membership from the swarm.

Example output:

$ docker node rm swarm-node-02
Node swarm-node-02 removed from Swarm