mirror of https://github.com/docker/docs.git
Update docs from dockerhubenterprise/ to docker/
This commit is contained in:
parent
47bc122701
commit
b83dc8075c
|
@ -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-url> \
|
||||
--ucp-insecure-tls \
|
||||
--existing-replica-id <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-url> \
|
||||
--ucp-insecure-tls \
|
||||
--ucp-username <ucp-admin> \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:<version>
|
||||
```
|
||||
|
||||
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:<version> upgrade \
|
||||
--ucp-insecure-tls
|
||||
```
|
||||
|
||||
By default the upgrade command runs in interactive mode and prompts you for
|
||||
|
|
|
@ -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
|
||||
```
|
||||
|
|
|
@ -9,14 +9,14 @@ identifier="dtr_reference_backup"
|
|||
+++
|
||||
<![end-metadata]-->
|
||||
|
||||
# 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
|
||||
```
|
||||
|
||||
|
|
|
@ -9,14 +9,14 @@ identifier="dtr_reference_dumpcerts"
|
|||
+++
|
||||
<![end-metadata]-->
|
||||
|
||||
# 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
|
||||
```
|
||||
|
||||
|
|
|
@ -9,14 +9,14 @@ identifier="dtr_reference_images"
|
|||
+++
|
||||
<![end-metadata]-->
|
||||
|
||||
# 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]
|
||||
```
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!--[metadata]>
|
||||
+++
|
||||
title = "Overview"
|
||||
description = "Learn about the commands available in the dockerhubenterprise/dtr image."
|
||||
description = "Learn about the commands available in the docker/dtr image."
|
||||
keywords = ["docker, dtr, install, uninstall, configure"]
|
||||
[menu.main]
|
||||
parent="dtr_menu_reference"
|
||||
|
@ -10,7 +10,7 @@ weight=-10
|
|||
+++
|
||||
<![end-metadata]-->
|
||||
|
||||
# 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]
|
||||
```
|
||||
|
||||
|
|
|
@ -9,14 +9,14 @@ identifier="dtr_reference_install"
|
|||
+++
|
||||
<![end-metadata]-->
|
||||
|
||||
# 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]
|
||||
```
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ identifier="dtr_reference_join"
|
|||
+++
|
||||
<![end-metadata]-->
|
||||
|
||||
# dockerhubenterprise/dtr join
|
||||
# docker/dtr join
|
||||
|
||||
Add a new replica to an existing DTR cluster
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!--[metadata]>
|
||||
+++
|
||||
title = "dockerhubenterprise/dtr image reference"
|
||||
description = "Learn about the commands available in the dockerhubenterprise/dtr image."
|
||||
title = "docker/dtr image reference"
|
||||
description = "Learn about the commands available in the docker/dtr image."
|
||||
keywords = ["docker, dtr, install, uninstall, configure"]
|
||||
type = "menu"
|
||||
[menu.main]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!--[metadata]>
|
||||
+++
|
||||
title = "migrate"
|
||||
description = "Learn about the options available on the dockerhubenterprise/dtr image."
|
||||
description = "Learn about the options available on the docker/dtr image."
|
||||
keywords = ["docker, dtr, install, uninstall, configure"]
|
||||
[menu.main]
|
||||
parent="dtr_menu_reference"
|
||||
|
@ -9,15 +9,15 @@ identifier="dtr_reference_migrate"
|
|||
+++
|
||||
<![end-metadata]-->
|
||||
|
||||
# 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]
|
||||
```
|
||||
|
||||
|
|
|
@ -9,14 +9,14 @@ identifier="dtr_reference_reconfigure"
|
|||
+++
|
||||
<![end-metadata]-->
|
||||
|
||||
# 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]
|
||||
```
|
||||
|
||||
|
|
|
@ -9,14 +9,14 @@ identifier="dtr_reference_remove"
|
|||
+++
|
||||
<![end-metadata]-->
|
||||
|
||||
# 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]
|
||||
```
|
||||
|
||||
|
|
|
@ -9,14 +9,14 @@ identifier="dtr_reference_restore"
|
|||
+++
|
||||
<![end-metadata]-->
|
||||
|
||||
# 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
|
||||
```
|
||||
|
||||
|
|
|
@ -9,14 +9,14 @@ identifier="dtr_reference_upgrade"
|
|||
+++
|
||||
<![end-metadata]-->
|
||||
|
||||
# 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]
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue