From bf0c303d174f0af89457991371bd31ae10cc795e Mon Sep 17 00:00:00 2001 From: Anoop Kumar Date: Thu, 20 Oct 2016 14:46:48 -0400 Subject: [PATCH] Correct & Specify additional supported options for restore Corrected dtr-external-url Added missing arguments for etcd --- docker-trusted-registry/reference/restore.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docker-trusted-registry/reference/restore.md b/docker-trusted-registry/reference/restore.md index f663f865b98..d23841c89d4 100644 --- a/docker-trusted-registry/reference/restore.md +++ b/docker-trusted-registry/reference/restore.md @@ -23,13 +23,13 @@ $ docker run -i --rm docker/dtr \ ## Description This command performs a fresh installation of DTR, and reconfigures it -with configuration data from a tar file generated by the 'backup' command. +with configuration data from a tar file generated by the `backup` command. The command starts by installing DTR, restores the configurations stored on etcd, and then restores the repository metadata stored on RethinkDB. This command does not restore Docker images. You should implement a separate -restore procedure for the Docker images stored in your registry, taking in +restore procedure for the Docker images stored in your registry, taking into consideration whether your DTR installation is configured to store images on the filesystem or using a cloud provider. @@ -53,7 +53,10 @@ the 'join' command. | `--log-protocol` | The protocol for sending container logs: tcp, udp or internal. Default: internal [$LOG_PROTOCOL] | | `--log-host` | Endpoint to send logs to, required if --log-protocol is tcp or udp [$LOG_HOST] | | `--log-level` | Log level for container logs. Default: INFO [$LOG_LEVEL] | -| `--dtr-load-balancer` | Specify the domain name and port for the DTR load balancer [$DTR_LOAD_BALANCER] | +| `--dtr-external-url` | Specify the external domain name and port for DTR. If using a load balancer, use its external URL instead. [$DTR_EXTERNAL_URL] | +| `--etcd-heartbeat-interval "0"` | Set etcd's frequency (ms) that its leader will notify followers that it is still the leader. [$ETCD_HEARTBEAT_INTERVAL] | +| `--etcd-election-timeout "0"` | Set etcd's timeout (ms) for how long a follower node will go without hearing a heartbeat before attempting to become leader itself. [$ETCD_ELECTION_TIMEOUT] | +| `--etcd-snapshot-count "0"` | Set etcd's number of changes before creating a snapshot. [$ETCD_SNAPSHOT_COUNT] | | `--ucp-insecure-tls` | Disable TLS verification for UCP [$UCP_INSECURE_TLS] | | `--ucp-ca` | Use a PEM-encoded TLS CA certificate for UCP [$UCP_CA] | | `--ucp-node` | Specify the host to install Docker Trusted Registry [$UCP_NODE] |