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
|
## 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:
|
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 dockerhubenterprise/dtr backup \
|
$ docker run -i --rm docker/dtr:2.1.0-beta3 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 `dockerhubenterprise/dtr restore`
|
You can restore a DTR node from a backup using the `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 \
|
||||||
dockerhubenterprise/dtr restore \
|
docker/dtr:2.1.0-beta3 restore \
|
||||||
--ucp-url <ucp-url> \
|
--ucp-url <ucp-url> \
|
||||||
--ucp-insecure-tls \
|
--ucp-insecure-tls \
|
||||||
--ucp-username <ucp-admin> \
|
--ucp-username <ucp-admin> \
|
||||||
|
|
|
@ -12,7 +12,7 @@ weight=50
|
||||||
|
|
||||||
# Uninstall Docker Trusted Registry
|
# 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.
|
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 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
|
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 \
|
||||||
dockerhubenterprise/dtr:2.1.0-beta1 remove \
|
docker/dtr:2.1.0-beta3 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 `dockerhubenterprise/dtr upgrade` command.
|
To upgrade DTR you use the `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 `dockerhubenterprise/dtr` image.
|
2. Pull the latest `docker/dtr` image.
|
||||||
|
|
||||||
```bash
|
```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
|
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
|
```bash
|
||||||
$ docker run -it --rm \
|
$ docker run -it --rm \
|
||||||
dockerhubenterprise/dtr upgrade \
|
docker/dtr:<version> upgrade \
|
||||||
--ucp-insecure-tls
|
--ucp-insecure-tls
|
||||||
```
|
```
|
||||||
|
|
||||||
By default the upgrade command runs in interactive mode and prompts you for
|
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.
|
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-test1 --entrypoint sh docker/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-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`.
|
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 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]-->
|
<![end-metadata]-->
|
||||||
|
|
||||||
# dockerhubenterprise/dtr backup
|
# docker/dtr backup
|
||||||
|
|
||||||
Create a backup of DTR
|
Create a backup of DTR
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -i --rm dockerhubenterprise/dtr \
|
docker run -i --rm docker/dtr \
|
||||||
backup [command options] > backup.tar
|
backup [command options] > backup.tar
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -9,14 +9,14 @@ identifier="dtr_reference_dumpcerts"
|
||||||
+++
|
+++
|
||||||
<![end-metadata]-->
|
<![end-metadata]-->
|
||||||
|
|
||||||
# dockerhubenterprise/dtr dumpcerts
|
# docker/dtr dumpcerts
|
||||||
|
|
||||||
Print the TLS certificates used by DTR
|
Print the TLS certificates used by DTR
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -i --rm dockerhubenterprise/dtr \
|
docker run -i --rm docker/dtr \
|
||||||
dumpcerts [command options] > backup.tar
|
dumpcerts [command options] > backup.tar
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -9,14 +9,14 @@ identifier="dtr_reference_images"
|
||||||
+++
|
+++
|
||||||
<![end-metadata]-->
|
<![end-metadata]-->
|
||||||
|
|
||||||
# dockerhubenterprise/dtr images
|
# docker/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 dockerhubenterprise/dtr \
|
docker run -it --rm docker/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 dockerhubenterprise/dtr image."
|
description = "Learn about the commands available in the docker/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]-->
|
||||||
|
|
||||||
# dockerhubenterprise/dtr overview
|
# docker/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 dockerhubenterprise/dtr \
|
docker run -it --rm docker/dtr \
|
||||||
command [command options]
|
command [command options]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -9,14 +9,14 @@ identifier="dtr_reference_install"
|
||||||
+++
|
+++
|
||||||
<![end-metadata]-->
|
<![end-metadata]-->
|
||||||
|
|
||||||
# dockerhubenterprise/dtr install
|
# docker/dtr install
|
||||||
|
|
||||||
Install Docker Trusted Registry
|
Install Docker Trusted Registry
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -it --rm dockerhubenterprise/dtr \
|
docker run -it --rm docker/dtr \
|
||||||
install [command options]
|
install [command options]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ identifier="dtr_reference_join"
|
||||||
+++
|
+++
|
||||||
<![end-metadata]-->
|
<![end-metadata]-->
|
||||||
|
|
||||||
# dockerhubenterprise/dtr join
|
# docker/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 = "dockerhubenterprise/dtr image reference"
|
title = "docker/dtr image reference"
|
||||||
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"]
|
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 dockerhubenterprise/dtr image."
|
description = "Learn about the options available on the docker/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]-->
|
||||||
|
|
||||||
# dockerhubenterprise/dtr migrate
|
# docker/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 `dockerhubenterprise/dtr` version 2.0.x.
|
Only available in `docker/dtr` version 2.0.x.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ docker run -it --rm dockerhubenterprise/dtr \
|
$ docker run -it --rm docker/dtr \
|
||||||
migrate [command options]
|
migrate [command options]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -9,14 +9,14 @@ identifier="dtr_reference_reconfigure"
|
||||||
+++
|
+++
|
||||||
<![end-metadata]-->
|
<![end-metadata]-->
|
||||||
|
|
||||||
# dockerhubenterprise/dtr reconfigure
|
# docker/dtr reconfigure
|
||||||
|
|
||||||
Change DTR configurations
|
Change DTR configurations
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -it --rm dockerhubenterprise/dtr \
|
docker run -it --rm docker/dtr \
|
||||||
reconfigure [command options]
|
reconfigure [command options]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -9,14 +9,14 @@ identifier="dtr_reference_remove"
|
||||||
+++
|
+++
|
||||||
<![end-metadata]-->
|
<![end-metadata]-->
|
||||||
|
|
||||||
# dockerhubenterprise/dtr remove
|
# docker/dtr remove
|
||||||
|
|
||||||
Remove a DTR replica
|
Remove a DTR replica
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -it --rm dockerhubenterprise/dtr \
|
docker run -it --rm docker/dtr \
|
||||||
remove [command options]
|
remove [command options]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -9,14 +9,14 @@ identifier="dtr_reference_restore"
|
||||||
+++
|
+++
|
||||||
<![end-metadata]-->
|
<![end-metadata]-->
|
||||||
|
|
||||||
# dockerhubenterprise/dtr restore
|
# docker/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 dockerhubenterprise/dtr \
|
docker run -i --rm docker/dtr \
|
||||||
restore [command options] < backup.tar
|
restore [command options] < backup.tar
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -9,14 +9,14 @@ identifier="dtr_reference_upgrade"
|
||||||
+++
|
+++
|
||||||
<![end-metadata]-->
|
<![end-metadata]-->
|
||||||
|
|
||||||
# dockerhubenterprise/dtr upgrade
|
# docker/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 dockerhubenterprise/dtr \
|
docker run -it --rm docker/dtr \
|
||||||
upgrade [command options]
|
upgrade [command options]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue