autolock

A swarm setting that encrypts the key protecting the managers’ Raft log, so a restarted manager stays locked until someone enters the unlock key.

Without the unlock key, locked managers cannot rejoin the swarm.

In more detail

Turn it on with docker swarm update --autolock=true, and unlock a manager with docker swarm unlock. Lose the key while every manager is down and the swarm cannot be recovered.

Related terms

Taught in

References

Certification courses