docker node

Estimated reading time: 1 minute

Edge only: This is the CLI reference for Docker CE Edge versions. Some of these options may not be available to Docker CE stable or Docker EE. You can view the stable version of this CLI reference or learn about Docker CE Edge.


Manage Swarm nodes

API 1.24+  The client and daemon API must both be at least 1.24 to use this command. Use the docker version command on the client to check your client and daemon API versions.

Swarm This command works with the Swarm orchestrator.


docker node COMMAND

Child commands

docker node demoteDemote one or more nodes from manager in the swarm
docker node inspectDisplay detailed information on one or more nodes
docker node lsList nodes in the swarm
docker node promotePromote one or more nodes to manager in the swarm
docker node psList tasks running on one or more nodes, defaults to current node
docker node rmRemove one or more nodes from the swarm
docker node updateUpdate a node

Parent command

dockerThe base command for the Docker CLI.

Extended description

Manage nodes.