'Can docker swarm config be used as a KV store?

I'm trying to see if I can avoid adding a clustered KV store in a smallish Pi cluster. Since docker config is already spread across the swarm I was wondering if it is possible to use it as a KV store that has some locking semantics to prevent two containers updating at the same time.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source