title: Save and later restore Docker stack state
body: <p>I'm using docker <code>swarm deploy -c docker-compose.yml somestack</code>  to deploy to a docker swarm.  However, I can later scale it with <code>docker service scale somestack_someservice=5</code> (or whatever). So now docker-compose.yml no longer reflects the system.  My question is, is there any way to save off the current configuration of the stack, and then later reapply it, similar to how I originally created it (with docker-compose.yml)?</p>