Uninstall Docker Trusted Registry

Estimated reading time: 1 minute

These are the docs for DTR version 2.4.6

To select a different version, use the selector below.

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.6 remove \
  --ucp-insecure-tls
docker run -it --rm \
  docker/dtr:2.4.6 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

dtr, install, uninstall