docker/dtr destroyEstimated reading time: 1 minute
This topic applies to Docker Enterprise.
The Docker Enterprise platform business, including products, customers, and employees, has been acquired by Mirantis, inc., effective 13-November-2019. For more information on the acquisition and how it may affect you and your business, refer to the Docker Enterprise Customer FAQ.
Destroy a DTR replica’s data
docker run -it --rm docker/dtr \ destroy [command options]
This command forcefully removes all containers and volumes associated with a DTR replica without notifying the rest of the cluster. Use this command on all replicas uninstall DTR.
Use the ‘remove’ command to gracefully scale down your DTR cluster.
||$DTR_DESTROY_REPLICA_ID||The ID of the replica to destroy.|
||$UCP_URL||The UCP URL including domain and port.|
||$UCP_USERNAME||The UCP administrator username.|
||$UCP_PASSWORD||The UCP administrator password.|
||$DEBUG||Enable debug mode for additional logs.|
||$DTR_EXTENDED_HELP||Display extended help text for a given command.|
||$UCP_INSECURE_TLS||Disable TLS verification for UCP.The installation uses TLS but always trusts the TLS certificate used by UCP, which can lead to man-in-the-middle attacks. For production deployments, use --ucp-ca “$(cat ca.pem)” instead.|
||$UCP_CA||Use a PEM-encoded TLS CA certificate for UCP.Download the UCP TLS CA certificate from https://