title: Using docker swarm to execute singular containers rather than "services"
body: <p>I really enjoy the concept of having a cluster of docker machines available to execute docker services. I also like the additional features not available to singular docker containers (such as docker secret). </p>
  
  <p>But I really have no need for long-standing services. My use case is to simply execute a bash script to use the docker swarm to take in an arbitrary number of finite commands, and execute each as a running docker container on the same docker image, while using the secrets loaded up with docker swarm's secrets.</p>
  
  <p>Can I do this?<br>
  I do not want to have this container be "long running". I want it to run, and then exit with the output when the bash script loaded into the container is finished.</p>