From 09c9a63f116a6579038bbc42e6f716346e5f0335 Mon Sep 17 00:00:00 2001 From: Diego BM <1613216+DiegoBM@users.noreply.github.com> Date: Sat, 18 Jul 2026 22:56:03 +0200 Subject: [PATCH] docs: Update uninstall instructions to address swarm cleanup --- apps/docs/content/docs/core/uninstall.mdx | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/apps/docs/content/docs/core/uninstall.mdx b/apps/docs/content/docs/core/uninstall.mdx index e7c936a2..3507ccaa 100644 --- a/apps/docs/content/docs/core/uninstall.mdx +++ b/apps/docs/content/docs/core/uninstall.mdx @@ -38,7 +38,27 @@ Remove the docker network created by Dokploy: ``` - + + + +If you were running a Cluster, then for each worker node, remove all it's services and make it leave the swarm: + + ```bash + docker service rm $(docker service ls -q) + docker system prune -a -f + docker swarm leave + ``` + + + + +Make the manager node (where Dokploy is installed) leave the swarm (run it on all manager nodes if you had more than one): + + ```bash + docker swarm leave --force + ``` + + Docker cleanup to remove leftovers: