diff --git a/high-availability/backups-and-disaster-recovery.md b/high-availability/backups-and-disaster-recovery.md index 7e942b23cd..764bc8d8e6 100644 --- a/high-availability/backups-and-disaster-recovery.md +++ b/high-availability/backups-and-disaster-recovery.md @@ -37,7 +37,7 @@ on a cloud provider, depending on the way DTR is configured. ## Backup DTR data -To perform a backup of a DTR node, use the `dockerhubenterprise/dtr backup` command. This +To perform a backup of a DTR node, use the `backup` command. This command creates a backup of DTR: * Configurations, @@ -66,7 +66,7 @@ As an example, to create a backup of a DTR node, you can use: ```bash # Create the backup -$ docker run -i --rm dockerhubenterprise/dtr backup \ +$ docker run -i --rm docker/dtr:2.1.0-beta3 backup \ --ucp-url \ --ucp-insecure-tls \ --existing-replica-id \ @@ -90,7 +90,7 @@ $ tar -tf /tmp/backup.tar ## Restore DTR data -You can restore a DTR node from a backup using the `dockerhubenterprise/dtr restore` +You can restore a DTR node from a backup using the `restore` command. This command performs a fresh installation of DTR, and reconfigures it with the configuration created during a backup. @@ -116,7 +116,7 @@ state from an existing backup: ```bash # Install and restore configurations from an existing backup $ docker run -i --rm \ - dockerhubenterprise/dtr restore \ + docker/dtr:2.1.0-beta3 restore \ --ucp-url \ --ucp-insecure-tls \ --ucp-username \ diff --git a/install/uninstall.md b/install/uninstall.md index b19464ed36..576a2d9f16 100644 --- a/install/uninstall.md +++ b/install/uninstall.md @@ -12,7 +12,7 @@ weight=50 # Uninstall Docker Trusted Registry -Use the `dockerhubenterprise/dtr remove` command, to remove a DTR replica from a cluster. +Use the `remove` command, to remove a DTR replica from a cluster. To uninstall a DTR cluster you remove all DTR replicas one at a time. The remove command: @@ -24,7 +24,7 @@ To see what options are available in the uninstall command, check the [uninstall command reference](../reference/remove.md), or run: ```bash -$ docker run -it --rm dockerhubenterprise/dtr:2.1.0-beta1 remove --help +$ docker run -it --rm docker/dtr:2.1.0-beta3 remove --help ``` To remove a replica safely, you must tell the bootstrapper about one healthy replica @@ -40,7 +40,7 @@ remove a DTR replica from a cluster with multiple replicas: ```bash $ docker run -it --rm \ - dockerhubenterprise/dtr:2.1.0-beta1 remove \ + docker/dtr:2.1.0-beta3 remove \ --ucp-insecure-tls existing-replica-id (ID of an existing replica in a cluster): 7ae3cb044b70 diff --git a/install/upgrade/index.md b/install/upgrade/index.md index d4e224a443..3b17049992 100644 --- a/install/upgrade/index.md +++ b/install/upgrade/index.md @@ -29,17 +29,17 @@ installation to the 2.0 version](upgrade-major.md). ## Step 2. Upgrade DTR -To upgrade DTR you use the `dockerhubenterprise/dtr upgrade` command. +To upgrade DTR you use the `upgrade` command. 1. Download a UCP client bundle. Having a UCP client bundle allows you to run Docker commands on a UCP cluster. Download a UCP client bundle and set up your CLI client to use it. -2. Pull the latest `dockerhubenterprise/dtr` image. +2. Pull the latest `docker/dtr` image. ```bash - $ docker pull dockerhubenterprise/dtr + $ docker pull docker/dtr: ``` If the node you're upgrading doesn't have access to the internet, you can @@ -52,8 +52,8 @@ To upgrade DTR you use the `dockerhubenterprise/dtr upgrade` command. ```bash $ docker run -it --rm \ - dockerhubenterprise/dtr upgrade \ - --ucp-insecure-tls + docker/dtr: upgrade \ + --ucp-insecure-tls ``` By default the upgrade command runs in interactive mode and prompts you for diff --git a/monitor-troubleshoot/troubleshoot.md b/monitor-troubleshoot/troubleshoot.md index ab099db7bb..71673485a9 100644 --- a/monitor-troubleshoot/troubleshoot.md +++ b/monitor-troubleshoot/troubleshoot.md @@ -20,8 +20,8 @@ To manually test that overlay networking is working in UCP run the following commands on two different UCP machines. ``` -docker run -it --rm --net dtr-ol --name overlay-test1 --entrypoint sh dockerhubenterprise/dtr -docker run -it --rm --net dtr-ol --name overlay-test2 --entrypoint ping dockerhubenterprise/dtr -c 3 overlay-test1 +docker run -it --rm --net dtr-ol --name overlay-test1 --entrypoint sh docker/dtr +docker run -it --rm --net dtr-ol --name overlay-test2 --entrypoint ping docker/dtr -c 3 overlay-test1 ``` You can create new new overlay network for this test with `docker network create -d overaly network-name`. @@ -69,5 +69,5 @@ You can execute etcd commands on a UCP node hosting a DTR replica using etcdctl via the following docker command: ``` -docker run --rm -v dtr-ca-$REPLICA_ID:/ca --net dtr-br -it --entrypoint /etcdctl dockerhubenterprise/dtr-etcd:v2.2.4 --endpoint https://dtr-etcd-$REPLICA_ID.dtr-br:2379 --ca-file /ca/etcd/cert.pem --key-file /ca/etcd-client/key.pem --cert-file /ca/etcd-client/cert.pem +docker run --rm -v dtr-ca-$REPLICA_ID:/ca --net dtr-br -it --entrypoint /etcdctl docker/dtr-etcd:v2.2.4 --endpoint https://dtr-etcd-$REPLICA_ID.dtr-br:2379 --ca-file /ca/etcd/cert.pem --key-file /ca/etcd-client/key.pem --cert-file /ca/etcd-client/cert.pem ``` diff --git a/reference/backup.md b/reference/backup.md index 2e2d8deda6..8f5ca87a37 100644 --- a/reference/backup.md +++ b/reference/backup.md @@ -9,14 +9,14 @@ identifier="dtr_reference_backup" +++ -# dockerhubenterprise/dtr backup +# docker/dtr backup Create a backup of DTR ## Usage ```bash -docker run -i --rm dockerhubenterprise/dtr \ +docker run -i --rm docker/dtr \ backup [command options] > backup.tar ``` diff --git a/reference/dumpcerts.md b/reference/dumpcerts.md index ebe726719f..2c1da74923 100644 --- a/reference/dumpcerts.md +++ b/reference/dumpcerts.md @@ -9,14 +9,14 @@ identifier="dtr_reference_dumpcerts" +++ -# dockerhubenterprise/dtr dumpcerts +# docker/dtr dumpcerts Print the TLS certificates used by DTR ## Usage ```bash -docker run -i --rm dockerhubenterprise/dtr \ +docker run -i --rm docker/dtr \ dumpcerts [command options] > backup.tar ``` diff --git a/reference/images.md b/reference/images.md index fdb833e4e3..907d67be24 100644 --- a/reference/images.md +++ b/reference/images.md @@ -9,14 +9,14 @@ identifier="dtr_reference_images" +++ -# dockerhubenterprise/dtr images +# docker/dtr images List all the images necessary to install DTR ## Usage ```bash -docker run -it --rm dockerhubenterprise/dtr \ +docker run -it --rm docker/dtr \ images [command options] ``` diff --git a/reference/index.md b/reference/index.md index ffe0c6450b..2371f24bc7 100644 --- a/reference/index.md +++ b/reference/index.md @@ -1,7 +1,7 @@ -# dockerhubenterprise/dtr overview +# docker/dtr overview This tool has commands to install, configure, and backup Docker Trusted Registry (DTR). It also allows uninstalling DTR. @@ -23,7 +23,7 @@ Additional help is available for each command with the '--help' option. ## Usage ```bash -docker run -it --rm dockerhubenterprise/dtr \ +docker run -it --rm docker/dtr \ command [command options] ``` diff --git a/reference/install.md b/reference/install.md index 8b877e06a8..8445609103 100644 --- a/reference/install.md +++ b/reference/install.md @@ -9,14 +9,14 @@ identifier="dtr_reference_install" +++ -# dockerhubenterprise/dtr install +# docker/dtr install Install Docker Trusted Registry ## Usage ```bash -docker run -it --rm dockerhubenterprise/dtr \ +docker run -it --rm docker/dtr \ install [command options] ``` diff --git a/reference/join.md b/reference/join.md index b8129d5e2f..117560164d 100644 --- a/reference/join.md +++ b/reference/join.md @@ -9,7 +9,7 @@ identifier="dtr_reference_join" +++ -# dockerhubenterprise/dtr join +# docker/dtr join Add a new replica to an existing DTR cluster diff --git a/reference/menu.md b/reference/menu.md index 3e2b1afc41..ca6363f184 100644 --- a/reference/menu.md +++ b/reference/menu.md @@ -1,7 +1,7 @@ -# dockerhubenterprise/dtr migrate +# docker/dtr migrate Migrate configurations, accounts, and repository metadata from DTR 1.4.3 to 2.0. -Only available in `dockerhubenterprise/dtr` version 2.0.x. +Only available in `docker/dtr` version 2.0.x. ## Usage ```bash -$ docker run -it --rm dockerhubenterprise/dtr \ +$ docker run -it --rm docker/dtr \ migrate [command options] ``` diff --git a/reference/reconfigure.md b/reference/reconfigure.md index 64a58f3c12..b92110cacb 100644 --- a/reference/reconfigure.md +++ b/reference/reconfigure.md @@ -9,14 +9,14 @@ identifier="dtr_reference_reconfigure" +++ -# dockerhubenterprise/dtr reconfigure +# docker/dtr reconfigure Change DTR configurations ## Usage ```bash -docker run -it --rm dockerhubenterprise/dtr \ +docker run -it --rm docker/dtr \ reconfigure [command options] ``` diff --git a/reference/remove.md b/reference/remove.md index b9d4d6e200..393af38cb5 100644 --- a/reference/remove.md +++ b/reference/remove.md @@ -9,14 +9,14 @@ identifier="dtr_reference_remove" +++ -# dockerhubenterprise/dtr remove +# docker/dtr remove Remove a DTR replica ## Usage ```bash -docker run -it --rm dockerhubenterprise/dtr \ +docker run -it --rm docker/dtr \ remove [command options] ``` diff --git a/reference/restore.md b/reference/restore.md index d7a31192f7..f32e670aeb 100644 --- a/reference/restore.md +++ b/reference/restore.md @@ -9,14 +9,14 @@ identifier="dtr_reference_restore" +++ -# dockerhubenterprise/dtr restore +# docker/dtr restore Install and restore DTR from an existing backup ## Usage ```bash -docker run -i --rm dockerhubenterprise/dtr \ +docker run -i --rm docker/dtr \ restore [command options] < backup.tar ``` diff --git a/reference/upgrade.md b/reference/upgrade.md index e3b75738ce..bae2f3e29c 100644 --- a/reference/upgrade.md +++ b/reference/upgrade.md @@ -9,14 +9,14 @@ identifier="dtr_reference_upgrade" +++ -# dockerhubenterprise/dtr upgrade +# docker/dtr upgrade Upgrade DTR 2.0.0 or later cluster to this version ## Usage ```bash -docker run -it --rm dockerhubenterprise/dtr \ +docker run -it --rm docker/dtr \ upgrade [command options] ```