[Go to site: main page, start]

Dokploy

Uninstall

Learn how to uninstall Dokploy on your server

Follow these steps to completely remove Dokploy and its components from your server.

Redis is no longer part of self-hosted Dokploy since v0.29.9. If you installed an older version and never updated, also remove the leftover service and volume with docker service remove dokploy-redis and docker volume remove -f dokploy-redis.

Remove the docker swarm services created by Dokploy:

docker service remove dokploy dokploy-traefik dokploy-postgres
docker container remove -f dokploy-traefik

Remove the docker volumes created by Dokploy:

docker volume remove -f dokploy dokploy-postgres

Remove the docker network created by Dokploy:

docker network remove -f dokploy-network
docker network remove -f ingress

If you were running a Cluster, then for each worker node, remove all it's services and make it leave the swarm:

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):

docker swarm leave --force

Docker cleanup to remove leftovers:

docker container prune --force
docker image prune --all --force
docker volume prune --all --force
docker builder prune --all --force
docker system prune --all --volumes --force

Remove the dokploy files and directories from your server:

sudo rm -rf /etc/dokploy