Is there any way to stop, start a single task in docker roaming mode?

Is there a way to stop, run a single task in docker roaming mode and how to do it?

+4
source share
1 answer

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.

+1
source

Source: https://habr.com/ru/post/1651247/


All Articles