docker/dtr remove

Estimated reading time: 1 minute

Remove a replica from a DTR cluster


docker run -it --rm docker/dtr \
    remove [command options]


This command removes a replica from the cluster, stops and removes all DTR containers, and deletes all DTR volumes.


Option Description
--ucp-url Specify the UCP controller URL including domain and port
--ucp-username Specify the UCP admin username
--ucp-password Specify the UCP admin password
--debug Enable debug mode, provides additional logging
--hub-username Specify the Docker Hub username for pulling images
--hub-password Specify the Docker Hub password for pulling images
--ucp-insecure-tls Disable TLS verification for UCP
--ucp-ca Use a PEM-encoded TLS CA certificate for UCP
--force-remove Force removal of replica even if it can break your cluster’s state. Necessary only when –existing-replica-id == –replica-id.
--replica-id Specify the replica ID. Must be unique per replica, leave blank for random
--existing-replica-id ID of an existing replica in a cluster
chat icon Feedback? Suggestions? Can't find something in the docs?
Edit this page Request docs changes Get support
Rate this page: