Uninstall Docker Trusted Registry

Estimated reading time: 1 minute

Uninstalling DTR can be done by simply removing all data associated with each replica. To do that, you just run the remove command once per replica and destroy the last one :

docker run -it --rm \
  docker/dtr:2.4.11 remove \
  --ucp-insecure-tls
docker run -it --rm \
  docker/dtr:2.4.11 destroy \
  --ucp-insecure-tls

You will be prompted for the UCP URL, UCP credentials, and which replica to remove/destroy.

To see what options are available in the remove/destroy commands, check the remove command reference documentation and destroy command reference documentation.

Where to go next

Rate this page:

 
0
 
1