DockerCLI/docs/reference/commandline/node_rm.md

752 B

Warning: this command is part of the Swarm management feature introduced in Docker 1.12, and might be subject to non backward-compatible changes.

node rm

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

Remove a node from the swarm

Aliases:
  rm, remove

Options:
      --help   Print usage

Removes nodes that are specified.

Example output:

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