mirror of https://github.com/docker/docs.git
Update docs from dtr to dockerhubenterprise
This commit is contained in:
parent
115b30e38a
commit
c88cadcb23
|
@ -37,7 +37,7 @@ on a cloud provider, depending on the way DTR is configured.
|
||||||
|
|
||||||
## Backup DTR data
|
## Backup DTR data
|
||||||
|
|
||||||
To perform a backup of a DTR node, use the `docker/dtr backup` command. This
|
To perform a backup of a DTR node, use the `dockerhubenterprise/dtr backup` command. This
|
||||||
command creates a backup of DTR:
|
command creates a backup of DTR:
|
||||||
|
|
||||||
* Configurations,
|
* Configurations,
|
||||||
|
@ -66,7 +66,7 @@ As an example, to create a backup of a DTR node, you can use:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Create the backup
|
# Create the backup
|
||||||
$ docker run -i --rm docker/dtr backup \
|
$ docker run -i --rm dockerhubenterprise/dtr backup \
|
||||||
--ucp-url <ucp-url> \
|
--ucp-url <ucp-url> \
|
||||||
--ucp-insecure-tls \
|
--ucp-insecure-tls \
|
||||||
--existing-replica-id <replica-id> \
|
--existing-replica-id <replica-id> \
|
||||||
|
@ -90,7 +90,7 @@ $ tar -tf /tmp/backup.tar
|
||||||
|
|
||||||
## Restore DTR data
|
## Restore DTR data
|
||||||
|
|
||||||
You can restore a DTR node from a backup using the `docker/dtr restore`
|
You can restore a DTR node from a backup using the `dockerhubenterprise/dtr restore`
|
||||||
command.
|
command.
|
||||||
This command performs a fresh installation of DTR, and reconfigures it with
|
This command performs a fresh installation of DTR, and reconfigures it with
|
||||||
the configuration created during a backup.
|
the configuration created during a backup.
|
||||||
|
@ -116,7 +116,7 @@ state from an existing backup:
|
||||||
```bash
|
```bash
|
||||||
# Install and restore configurations from an existing backup
|
# Install and restore configurations from an existing backup
|
||||||
$ docker run -i --rm \
|
$ docker run -i --rm \
|
||||||
docker/dtr restore \
|
dockerhubenterprise/dtr restore \
|
||||||
--ucp-url <ucp-url> \
|
--ucp-url <ucp-url> \
|
||||||
--ucp-insecure-tls \
|
--ucp-insecure-tls \
|
||||||
--ucp-username <ucp-admin> \
|
--ucp-username <ucp-admin> \
|
||||||
|
|
|
@ -38,7 +38,7 @@ Make sure all the nodes you plan on installing DTR are being managed by UCP.
|
||||||
|
|
||||||
## Step 3. Install DTR
|
## Step 3. Install DTR
|
||||||
|
|
||||||
To install DTR you use the `docker/dtr` image. This image has commands to
|
To install DTR you use the `dockerhubenterprise/dtr` image. This image has commands to
|
||||||
install, configure, and backup DTR.
|
install, configure, and backup DTR.
|
||||||
|
|
||||||
To install DTR:
|
To install DTR:
|
||||||
|
@ -81,7 +81,7 @@ To install DTR:
|
||||||
|
|
||||||
# Install DTR
|
# Install DTR
|
||||||
$ docker run -it --rm \
|
$ docker run -it --rm \
|
||||||
docker/dtr:2.1.0-beta1 install \
|
dockerhubenterprise/dtr:2.1.0-beta1 install \
|
||||||
--ucp-node <hostname> \
|
--ucp-node <hostname> \
|
||||||
--ucp-insecure-tls
|
--ucp-insecure-tls
|
||||||
```
|
```
|
||||||
|
@ -137,7 +137,7 @@ replica fails.
|
||||||
For high-availability you should set 3, 5, or 7 DTR replicas. The nodes where
|
For high-availability you should set 3, 5, or 7 DTR replicas. The nodes where
|
||||||
you're going to install these replicas also need to be managed by UCP.
|
you're going to install these replicas also need to be managed by UCP.
|
||||||
|
|
||||||
To add replicas to a DTR cluster, use the `docker/dtr join` command. To add
|
To add replicas to a DTR cluster, use the `dockerhubenterprise/dtr join` command. To add
|
||||||
replicas:
|
replicas:
|
||||||
|
|
||||||
1. Make sure the DTR images are loaded into the node.
|
1. Make sure the DTR images are loaded into the node.
|
||||||
|
@ -154,7 +154,7 @@ replicas:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ docker run -it --rm \
|
$ docker run -it --rm \
|
||||||
docker/dtr:2.1.0-beta1 join \
|
dockerhubenterprise/dtr:2.1.0-beta1 join \
|
||||||
--ucp-node <hostname> \
|
--ucp-node <hostname> \
|
||||||
--ucp-insecure-tls
|
--ucp-insecure-tls
|
||||||
```
|
```
|
||||||
|
|
|
@ -12,7 +12,7 @@ weight=50
|
||||||
|
|
||||||
# Uninstall Docker Trusted Registry
|
# Uninstall Docker Trusted Registry
|
||||||
|
|
||||||
Use the `docker/dtr remove` command, to remove a DTR replica from a cluster.
|
Use the `dockerhubenterprise/dtr remove` command, to remove a DTR replica from a cluster.
|
||||||
To uninstall a DTR cluster you remove all DTR replicas one at a time.
|
To uninstall a DTR cluster you remove all DTR replicas one at a time.
|
||||||
The remove command:
|
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:
|
[uninstall command reference](../reference/remove.md), or run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ docker run -it --rm docker/dtr:2.1.0-beta1 remove --help
|
$ docker run -it --rm dockerhubenterprise/dtr:2.1.0-beta1 remove --help
|
||||||
```
|
```
|
||||||
|
|
||||||
To remove a replica safely, you must tell the bootstrapper about one healthy replica
|
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
|
```bash
|
||||||
|
|
||||||
$ docker run -it --rm \
|
$ docker run -it --rm \
|
||||||
docker/dtr:2.1.0-beta1 remove \
|
dockerhubenterprise/dtr:2.1.0-beta1 remove \
|
||||||
--ucp-insecure-tls
|
--ucp-insecure-tls
|
||||||
|
|
||||||
existing-replica-id (ID of an existing replica in a cluster): 7ae3cb044b70
|
existing-replica-id (ID of an existing replica in a cluster): 7ae3cb044b70
|
||||||
|
|
|
@ -29,17 +29,17 @@ installation to the 2.0 version](upgrade-major.md).
|
||||||
|
|
||||||
## Step 2. Upgrade DTR
|
## Step 2. Upgrade DTR
|
||||||
|
|
||||||
To upgrade DTR you use the `docker/dtr upgrade` command.
|
To upgrade DTR you use the `dockerhubenterprise/dtr upgrade` command.
|
||||||
|
|
||||||
1. Download a UCP client bundle.
|
1. Download a UCP client bundle.
|
||||||
|
|
||||||
Having a UCP client bundle allows you to run Docker commands on a UCP
|
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.
|
cluster. Download a UCP client bundle and set up your CLI client to use it.
|
||||||
|
|
||||||
2. Pull the latest `docker/dtr` image.
|
2. Pull the latest `dockerhubenterprise/dtr` image.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ docker pull docker/dtr
|
$ docker pull dockerhubenterprise/dtr
|
||||||
```
|
```
|
||||||
|
|
||||||
If the node you're upgrading doesn't have access to the internet, you can
|
If the node you're upgrading doesn't have access to the internet, you can
|
||||||
|
@ -52,7 +52,7 @@ To upgrade DTR you use the `docker/dtr upgrade` command.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ docker run -it --rm \
|
$ docker run -it --rm \
|
||||||
docker/dtr upgrade \
|
dockerhubenterprise/dtr upgrade \
|
||||||
--ucp-insecure-tls
|
--ucp-insecure-tls
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
<!--[metadata]>
|
<!--[metadata]>
|
||||||
+++
|
+++
|
||||||
|
draft=true
|
||||||
aliases = ["/docker-trusted-registry/install/upgrade/"]
|
aliases = ["/docker-trusted-registry/install/upgrade/"]
|
||||||
title = "Upgrade from 1.4.3"
|
title = "Upgrade from 1.4.3"
|
||||||
description = "Learn how to upgrade your Docker Trusted Registry to the latest major release."
|
description = "Learn how to upgrade your Docker Trusted Registry to the latest major release."
|
||||||
|
|
|
@ -20,8 +20,8 @@ To manually test that overlay networking is working in UCP run the following
|
||||||
commands on two different UCP machines.
|
commands on two different UCP machines.
|
||||||
|
|
||||||
```
|
```
|
||||||
docker run -it --rm --net dtr-ol --name overlay-test1 --entrypoint sh docker/dtr
|
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 docker/dtr -c 3 overlay-test1
|
docker run -it --rm --net dtr-ol --name overlay-test2 --entrypoint ping dockerhubenterprise/dtr -c 3 overlay-test1
|
||||||
```
|
```
|
||||||
|
|
||||||
You can create new new overlay network for this test with `docker network create -d overaly network-name`.
|
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:
|
via the following docker command:
|
||||||
|
|
||||||
```
|
```
|
||||||
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
|
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
|
||||||
```
|
```
|
||||||
|
|
|
@ -9,14 +9,14 @@ identifier="dtr_reference_backup"
|
||||||
+++
|
+++
|
||||||
<![end-metadata]-->
|
<![end-metadata]-->
|
||||||
|
|
||||||
# docker/dtr backup
|
# dockerhubenterprise/dtr backup
|
||||||
|
|
||||||
Create a backup of DTR
|
Create a backup of DTR
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -i --rm docker/dtr \
|
docker run -i --rm dockerhubenterprise/dtr \
|
||||||
backup [command options] > backup.tar
|
backup [command options] > backup.tar
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -9,14 +9,14 @@ identifier="dtr_reference_dumpcerts"
|
||||||
+++
|
+++
|
||||||
<![end-metadata]-->
|
<![end-metadata]-->
|
||||||
|
|
||||||
# docker/dtr dumpcerts
|
# dockerhubenterprise/dtr dumpcerts
|
||||||
|
|
||||||
Print the TLS certificates used by DTR
|
Print the TLS certificates used by DTR
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -i --rm docker/dtr \
|
docker run -i --rm dockerhubenterprise/dtr \
|
||||||
dumpcerts [command options] > backup.tar
|
dumpcerts [command options] > backup.tar
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -9,14 +9,14 @@ identifier="dtr_reference_images"
|
||||||
+++
|
+++
|
||||||
<![end-metadata]-->
|
<![end-metadata]-->
|
||||||
|
|
||||||
# docker/dtr images
|
# dockerhubenterprise/dtr images
|
||||||
|
|
||||||
List all the images necessary to install DTR
|
List all the images necessary to install DTR
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -it --rm docker/dtr \
|
docker run -it --rm dockerhubenterprise/dtr \
|
||||||
images [command options]
|
images [command options]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<!--[metadata]>
|
<!--[metadata]>
|
||||||
+++
|
+++
|
||||||
title = "Overview"
|
title = "Overview"
|
||||||
description = "Learn about the commands available in the docker/dtr image."
|
description = "Learn about the commands available in the dockerhubenterprise/dtr image."
|
||||||
keywords = ["docker, dtr, install, uninstall, configure"]
|
keywords = ["docker, dtr, install, uninstall, configure"]
|
||||||
[menu.main]
|
[menu.main]
|
||||||
parent="dtr_menu_reference"
|
parent="dtr_menu_reference"
|
||||||
|
@ -10,7 +10,7 @@ weight=-10
|
||||||
+++
|
+++
|
||||||
<![end-metadata]-->
|
<![end-metadata]-->
|
||||||
|
|
||||||
# docker/dtr overview
|
# dockerhubenterprise/dtr overview
|
||||||
|
|
||||||
This tool has commands to install, configure, and backup Docker
|
This tool has commands to install, configure, and backup Docker
|
||||||
Trusted Registry (DTR). It also allows uninstalling DTR.
|
Trusted Registry (DTR). It also allows uninstalling DTR.
|
||||||
|
@ -23,7 +23,7 @@ Additional help is available for each command with the '--help' option.
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -it --rm docker/dtr \
|
docker run -it --rm dockerhubenterprise/dtr \
|
||||||
command [command options]
|
command [command options]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -9,14 +9,14 @@ identifier="dtr_reference_install"
|
||||||
+++
|
+++
|
||||||
<![end-metadata]-->
|
<![end-metadata]-->
|
||||||
|
|
||||||
# docker/dtr install
|
# dockerhubenterprise/dtr install
|
||||||
|
|
||||||
Install Docker Trusted Registry
|
Install Docker Trusted Registry
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -it --rm docker/dtr \
|
docker run -it --rm dockerhubenterprise/dtr \
|
||||||
install [command options]
|
install [command options]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ identifier="dtr_reference_join"
|
||||||
+++
|
+++
|
||||||
<![end-metadata]-->
|
<![end-metadata]-->
|
||||||
|
|
||||||
# docker/dtr join
|
# dockerhubenterprise/dtr join
|
||||||
|
|
||||||
Add a new replica to an existing DTR cluster
|
Add a new replica to an existing DTR cluster
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<!--[metadata]>
|
<!--[metadata]>
|
||||||
+++
|
+++
|
||||||
title = "docker/dtr image reference"
|
title = "dockerhubenterprise/dtr image reference"
|
||||||
description = "Learn about the commands available in the docker/dtr image."
|
description = "Learn about the commands available in the dockerhubenterprise/dtr image."
|
||||||
keywords = ["docker, dtr, install, uninstall, configure"]
|
keywords = ["docker, dtr, install, uninstall, configure"]
|
||||||
type = "menu"
|
type = "menu"
|
||||||
[menu.main]
|
[menu.main]
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<!--[metadata]>
|
<!--[metadata]>
|
||||||
+++
|
+++
|
||||||
title = "migrate"
|
title = "migrate"
|
||||||
description = "Learn about the options available on the docker/dtr image."
|
description = "Learn about the options available on the dockerhubenterprise/dtr image."
|
||||||
keywords = ["docker, dtr, install, uninstall, configure"]
|
keywords = ["docker, dtr, install, uninstall, configure"]
|
||||||
[menu.main]
|
[menu.main]
|
||||||
parent="dtr_menu_reference"
|
parent="dtr_menu_reference"
|
||||||
|
@ -9,15 +9,15 @@ identifier="dtr_reference_migrate"
|
||||||
+++
|
+++
|
||||||
<![end-metadata]-->
|
<![end-metadata]-->
|
||||||
|
|
||||||
# docker/dtr migrate
|
# dockerhubenterprise/dtr migrate
|
||||||
|
|
||||||
Migrate configurations, accounts, and repository metadata from DTR 1.4.3 to 2.0.
|
Migrate configurations, accounts, and repository metadata from DTR 1.4.3 to 2.0.
|
||||||
Only available in `docker/dtr` version 2.0.x.
|
Only available in `dockerhubenterprise/dtr` version 2.0.x.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ docker run -it --rm docker/dtr \
|
$ docker run -it --rm dockerhubenterprise/dtr \
|
||||||
migrate [command options]
|
migrate [command options]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -9,14 +9,14 @@ identifier="dtr_reference_reconfigure"
|
||||||
+++
|
+++
|
||||||
<![end-metadata]-->
|
<![end-metadata]-->
|
||||||
|
|
||||||
# docker/dtr reconfigure
|
# dockerhubenterprise/dtr reconfigure
|
||||||
|
|
||||||
Change DTR configurations
|
Change DTR configurations
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -it --rm docker/dtr \
|
docker run -it --rm dockerhubenterprise/dtr \
|
||||||
reconfigure [command options]
|
reconfigure [command options]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -9,14 +9,14 @@ identifier="dtr_reference_remove"
|
||||||
+++
|
+++
|
||||||
<![end-metadata]-->
|
<![end-metadata]-->
|
||||||
|
|
||||||
# docker/dtr remove
|
# dockerhubenterprise/dtr remove
|
||||||
|
|
||||||
Remove a DTR replica
|
Remove a DTR replica
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -it --rm docker/dtr \
|
docker run -it --rm dockerhubenterprise/dtr \
|
||||||
remove [command options]
|
remove [command options]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -9,14 +9,14 @@ identifier="dtr_reference_restore"
|
||||||
+++
|
+++
|
||||||
<![end-metadata]-->
|
<![end-metadata]-->
|
||||||
|
|
||||||
# docker/dtr restore
|
# dockerhubenterprise/dtr restore
|
||||||
|
|
||||||
Install and restore DTR from an existing backup
|
Install and restore DTR from an existing backup
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -i --rm docker/dtr \
|
docker run -i --rm dockerhubenterprise/dtr \
|
||||||
restore [command options] < backup.tar
|
restore [command options] < backup.tar
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -9,14 +9,14 @@ identifier="dtr_reference_upgrade"
|
||||||
+++
|
+++
|
||||||
<![end-metadata]-->
|
<![end-metadata]-->
|
||||||
|
|
||||||
# docker/dtr upgrade
|
# dockerhubenterprise/dtr upgrade
|
||||||
|
|
||||||
Upgrade DTR 2.0.0 or later cluster to this version
|
Upgrade DTR 2.0.0 or later cluster to this version
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -it --rm docker/dtr \
|
docker run -it --rm dockerhubenterprise/dtr \
|
||||||
upgrade [command options]
|
upgrade [command options]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue