2016-11-09 17:35:58 -05:00
|
|
|
---
|
|
|
|
title: "swarm unlock"
|
|
|
|
description: "The swarm unlock command description and usage"
|
|
|
|
keywords: "swarm, unlock"
|
|
|
|
---
|
|
|
|
|
|
|
|
<!-- This file is maintained within the docker/docker Github
|
|
|
|
repository at https://github.com/docker/docker/. Make all
|
|
|
|
pull requests against that repo. If you see this file in
|
|
|
|
another repository, consider it read-only there, as it will
|
|
|
|
periodically be overwritten by the definitive file. Pull
|
|
|
|
requests which include edits to this file in other repositories
|
|
|
|
will be rejected.
|
|
|
|
-->
|
|
|
|
|
|
|
|
# swarm unlock
|
|
|
|
|
|
|
|
```markdown
|
|
|
|
Usage: docker swarm unlock
|
|
|
|
|
|
|
|
Unlock swarm
|
|
|
|
|
|
|
|
Options:
|
|
|
|
--help Print usage
|
|
|
|
```
|
|
|
|
|
2017-02-07 18:42:48 -05:00
|
|
|
## Description
|
|
|
|
|
2016-11-09 17:35:58 -05:00
|
|
|
Unlocks a locked manager using a user-supplied unlock key. This command must be
|
|
|
|
used to reactivate a manager after its Docker daemon restarts if the autolock
|
|
|
|
setting is turned on. The unlock key is printed at the time when autolock is
|
|
|
|
enabled, and is also available from the `docker swarm unlock-key` command.
|
|
|
|
|
2017-02-07 18:42:48 -05:00
|
|
|
## Examples
|
2016-11-09 17:35:58 -05:00
|
|
|
|
|
|
|
```bash
|
|
|
|
$ docker swarm unlock
|
|
|
|
Please enter unlock key:
|
|
|
|
```
|
|
|
|
|
2017-02-07 18:42:48 -05:00
|
|
|
## Related commands
|
2016-11-09 17:35:58 -05:00
|
|
|
|
2017-05-10 18:34:56 -04:00
|
|
|
* [swarm ca](swarm_ca.md)
|
2016-11-09 17:35:58 -05:00
|
|
|
* [swarm init](swarm_init.md)
|
2016-12-19 12:55:51 -05:00
|
|
|
* [swarm join](swarm_join.md)
|
|
|
|
* [swarm join-token](swarm_join_token.md)
|
|
|
|
* [swarm leave](swarm_leave.md)
|
|
|
|
* [swarm unlock-key](swarm_unlock_key.md)
|
2016-11-09 17:35:58 -05:00
|
|
|
* [swarm update](swarm_update.md)
|