github.com/yogeshlonkar/moby@v1.13.2-0.20201203103638-c0b64beaea94/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  ## Description
    28  
    29  Unlocks a locked manager using a user-supplied unlock key. This command must be
    30  used to reactivate a manager after its Docker daemon restarts if the autolock
    31  setting is turned on. The unlock key is printed at the time when autolock is
    32  enabled, and is also available from the `docker swarm unlock-key` command.
    33  
    34  ## Examples
    35  
    36  ```bash
    37  $ docker swarm unlock
    38  Please enter unlock key:
    39  ```
    40  
    41  ## Related commands
    42  
    43  * [swarm init](swarm_init.md)
    44  * [swarm update](swarm_update.md)