oneuptime/Devops/docs/docker-swarm-ops.md
Nawaz Dhandala a981683d81
fix
2022-04-10 22:50:28 +01:00

344 B

See all services.

sudo docker service ls

Restart Service

sudo docker service update --force <SERVICE_NAME>

See Logs

sudo docker service logs <SERVICE_NAME>

See all containers running on all docker swarm nodes

sudo docker node ps $(sudo docker node ls -q)

Deploy / Update a stack

sudo docker stack deploy stack -c stack.yaml