github.com/pwn-term/docker@v0.0.0-20210616085119-6e977cce2565/cli/docs/reference/commandline/swarm_unlock.md (about) 1 --- 2 title: "swarm unlock" 3 description: "The swarm unlock command description and usage" 4 keywords: "swarm, unlock" 5 --- 6 7 # swarm unlock 8 9 ```markdown 10 Usage: docker swarm unlock 11 12 Unlock swarm 13 14 Options: 15 --help Print usage 16 ``` 17 18 ## Description 19 20 Unlocks a locked manager using a user-supplied unlock key. This command must be 21 used to reactivate a manager after its Docker daemon restarts if the autolock 22 setting is turned on. The unlock key is printed at the time when autolock is 23 enabled, and is also available from the `docker swarm unlock-key` command. 24 25 > **Note** 26 > 27 > This is a cluster management command, and must be executed on a swarm 28 > manager node. To learn about managers and workers, refer to the 29 > [Swarm mode section](https://docs.docker.com/engine/swarm/) in the 30 > documentation. 31 32 ## Examples 33 34 ```bash 35 $ docker swarm unlock 36 Please enter unlock key: 37 ``` 38 39 ## Related commands 40 41 * [swarm ca](swarm_ca.md) 42 * [swarm init](swarm_init.md) 43 * [swarm join](swarm_join.md) 44 * [swarm join-token](swarm_join-token.md) 45 * [swarm leave](swarm_leave.md) 46 * [swarm unlock-key](swarm_unlock-key.md) 47 * [swarm update](swarm_update.md)