...
1# swarm unlock
2
3<!---MARKER_GEN_START-->
4Unlock swarm
5
6
7<!---MARKER_GEN_END-->
8
9## Description
10
11Unlocks a locked manager using a user-supplied unlock key. This command must be
12used to reactivate a manager after its Docker daemon restarts if the autolock
13setting is turned on. The unlock key is printed at the time when autolock is
14enabled, and is also available from the `docker swarm unlock-key` command.
15
16> **Note**
17>
18> This is a cluster management command, and must be executed on a swarm
19> manager node. To learn about managers and workers, refer to the
20> [Swarm mode section](https://docs.docker.com/engine/swarm/) in the
21> documentation.
22
23## Examples
24
25```console
26$ docker swarm unlock
27Please enter unlock key:
28```
29
30## Related commands
31
32* [swarm ca](swarm_ca.md)
33* [swarm init](swarm_init.md)
34* [swarm join](swarm_join.md)
35* [swarm join-token](swarm_join-token.md)
36* [swarm leave](swarm_leave.md)
37* [swarm unlock-key](swarm_unlock-key.md)
38* [swarm update](swarm_update.md)
View as plain text