At the moment, the only way to run the containers in swarm mode is to create a service: docker service create --name my-service my/image. In addition, if you want to "stop" service, you need to remove her docker service rm my-service.
In the future, you will be able to run services using DAB files, which are very similar to docker-compose.yml files, but for docker roaming mode.
source
share