Advisory: This site contains documentation for the v1.12 release candidate version of Docker Engine. For the Docker Engine v1.11 docs, see https://docs.docker.com/v1.11/. Docker for Mac and Docker for Windows are currently in Beta.

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.

Example output:

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