docker swarm unlock

Unlock swarm

Swarm This command works with the Swarm orchestrator.


docker swarm unlock


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.


This is a cluster management command, and must be executed on a swarm manager node. To learn about managers and workers, refer to the Swarm mode section in the documentation.


$ docker swarm unlock
Please enter unlock key: