Uninstall
Learn how to uninstall Dokploy on your server
Follow these steps to completely remove Dokploy and its components from your server.
Remove the docker swarm services created by Dokploy:
docker service remove dokploy dokploy-traefik dokploy-postgres dokploy-redis
docker container remove -f dokploy-traefikRemove the docker volumes created by Dokploy:
docker volume remove -f dokploy dokploy-postgres dokploy-redisRemove the docker network created by Dokploy:
docker network remove -f dokploy-network
docker network remove -f ingressIf 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 leaveMake 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 --forceDocker 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 --forceRemove the dokploy files and directories from your server:
sudo rm -rf /etc/dokploy