Even though most Docker documentation applies to Moby, I find that Docker Swarm Mode is fundamentally different than Swarmkit. An API for the swarm.sock obviously exists, but I don't know how to use it. It would be nice if there was documentation for doing so.