Search⌘ K

Locking a Swarm

Explore how to secure your Docker Swarm cluster by enabling the autolock feature, which requires manager nodes to present an unlock key after restarting. Understand the process for locking and unlocking your swarm to protect it from unauthorized re-entry, and learn best practices for managing and safeguarding unlock keys to maintain cluster security.

We'll cover the following...

Autolock

Despite all of Swarm’s security features, restarting an old manager or restoring an old backup can potentially compromise your cluster. For example, a malicious actor with access to an old manager node may be able to re-join it to the swarm and gain unwanted access.

Fortunately, you can use Swarm’s autolock feature to ...