github.com/khulnasoft/cli@v0.0.0-20240402070845-01bcad7beefa/docs/reference/commandline/swarm_unlock.md (about) 1 # swarm unlock 2 3 <!---MARKER_GEN_START--> 4 Unlock swarm 5 6 7 <!---MARKER_GEN_END--> 8 9 ## Description 10 11 Unlocks a locked manager using a user-supplied unlock key. This command must be 12 used to reactivate a manager after its Docker daemon restarts if the autolock 13 setting is turned on. The unlock key is printed at the time when autolock is 14 enabled, 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 27 Please 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)