github.com/olljanat/moby@v1.13.1/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  <!-- This file is maintained within the docker/docker Github
     8       repository at https://github.com/docker/docker/. Make all
     9       pull requests against that repo. If you see this file in
    10       another repository, consider it read-only there, as it will
    11       periodically be overwritten by the definitive file. Pull
    12       requests which include edits to this file in other repositories
    13       will be rejected.
    14  -->
    15  
    16  # swarm unlock
    17  
    18  ```markdown
    19  Usage:	docker swarm unlock
    20  
    21  Unlock swarm
    22  
    23  Options:
    24        --help   Print usage
    25  ```
    26  
    27  Unlocks a locked manager using a user-supplied unlock key. This command must be
    28  used to reactivate a manager after its Docker daemon restarts if the autolock
    29  setting is turned on. The unlock key is printed at the time when autolock is
    30  enabled, and is also available from the `docker swarm unlock-key` command.
    31  
    32  
    33  ```bash
    34  $ docker swarm unlock
    35  Please enter unlock key:
    36  ```
    37  
    38  ## Related information
    39  
    40  * [swarm init](swarm_init.md)
    41  * [swarm update](swarm_update.md)