Use the remove
command, to remove a DTR replica from an existing deployment.
To uninstall a DTR cluster you remove all DTR replicas one at a time.
The remove command informs the DTR cluster that the node is about to be removed, then it removes the replica, stops and removes all DTR containers from that node, and deletes all DTR volumes.
To uninstall a DTR replica, run:
docker run -it --rm \
docker/dtr remove \
--ucp-insecure-tls
You will be prompted for:
To ensure you don’t loose data, DTR will not remove the last replica from your
deployment. To confirm you really want to remove that replica, use the
--force-remove
flag.
To see what options are available in the uninstall command, check the uninstall command reference documentation.