docs(pulse-docs): add Docker Swarm runbook + recovery commands + session & docker checklists + state snapshot

This commit is contained in:
Pulse Agent
2026-05-20 11:00:36 -03:00
parent 25d6b3556d
commit 1ccf3ce727
4 changed files with 75 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
# Recovery Commands — Docker Swarm
## Emergency
\`\`\`bash
docker node ls # verificar saude do no
docker stack rm <stack> && sleep 3 # remover stack problematica
docker stack deploy -c <stack>.yml <stack> # re-deploy
\`\`\`
## Servico especifico
\`\`\`bash
docker service ps <stack>_<service> # ver tasks
docker service update --force <stack>_<service> # forc@r nova task
\`\`\`
## Health check manual
\`\`\`bash
docker inspect --format '{{.State.Health.Status}}' <container_id>
# → healthy | unhealthy | starting | <sem-health>
\`\`\`