This commit is contained in:
John Mulhausen 2016-10-11 19:15:11 -07:00
commit 4189a9fe7f
2 changed files with 12 additions and 1 deletions

View File

@ -13,7 +13,7 @@ title: restart
```markdown
Usage: docker restart [OPTIONS] CONTAINER [CONTAINER...]
Restart a container
Restart one or more containers
Options:
--help Print usage

View File

@ -262,3 +262,14 @@ The `--force-new-cluster` flag puts the Docker Engine into swarm mode as a
manager node of a single-node swarm. It discards swarm membership information
that existed before the loss of the quorum but it retains data necessary to the
Swarm such as services, tasks and the list of worker nodes.
### Joining a previously failed node
If a node becomes unavailable, it cannot communicate with the rest of the swarm
and its workload is redistributed among the other nodes.
If access to that node is restored, it will join the swarm automatically, but it
will join with no workload because the containers it was assigned have been
reassigned. The node will only receive new workloads when the swarm is rebalanced.
To force the swarm to be rebalanced, you can
[update](../reference/commandline/service_update/) or
[scale](../reference/commandline/service_scale/) the service.