Hello, everyone.
I wanted to launch an app only once like hello-world app on the Docker Swarm cluster.
So, I tried to create service on the docker swarm like.
docker service create --replicas 1 --name hello hello-world
But, unfortunately, the service did not terminate.
I wanted to run the app just once on the Docker Swarm cluster like a normal docker command that was
docker run --rm --name helloworld hello-world
Is there any solution?
thx.