diff --git a/install/install-dtr.md b/install/install-dtr.md index de2e2ad314..e2d5e488f6 100644 --- a/install/install-dtr.md +++ b/install/install-dtr.md @@ -57,8 +57,8 @@ To install DTR: $ docker run -it --rm \ docker/dtr install \ --ucp-url $UCP_URL \ - --ucp-node $UCP_NODE \ - --dtr-load-balancer $DTR_PUBLIC_IP \ + --ucp-node $NODE_HOSTNAME \ + --dtr-external-url $DTR_PUBLIC_IP \ --ucp-username $USER --ucp-password $PASSWORD \ --ucp-ca "$(cat ucp-ca.pem)" ``` @@ -66,10 +66,10 @@ To install DTR: Where: * ucp-url, is the URL of the UCP controller, - * ucp-node, is the node on the ucp cluster where DTR will be installed, - * dtr-load-balancer, is the public IP or domain name where DTR can be reached, + * ucp-node, is the hostname of the UCP node where DTR will be installed, + * dtr-external-url, is the public IP or domain name where DTR can be reached, * ucp-username, and ucp-password are the credentials of a UCP administrator, - * ucp-ca, is the certificate used by UCP. + * ucp-ca, is the certificate authority used by UCP. 3. Check that DTR is running. diff --git a/reference/install.md b/reference/install.md index 3bb4e976b5..c76ba6edb5 100644 --- a/reference/install.md +++ b/reference/install.md @@ -44,8 +44,9 @@ 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 domain name and port for the DTR load balancer [$DTR_LOAD_BALANCER] | | `--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] | | `--replica-id` | Specify the replica Id. Must be unique per replica, leave blank for random [$DTR_REPLICA_ID] | +| `--unsafe` | Enable this flag to skip safety checks when installing or joining [$DTR_UNSAFE] | diff --git a/reference/join.md b/reference/join.md index 798f6b32e2..af3a775863 100644 --- a/reference/join.md +++ b/reference/join.md @@ -37,9 +37,11 @@ the cluster. | `--debug` | Enable debug mode, provides additional logging [$DEBUG] | | `--hub-username` | Specify the Docker Hub username for pulling images [$HUB_USERNAME] | | `--hub-password` | Specify the Docker Hub password for pulling images [$HUB_PASSWORD] | +| `--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] | | `--replica-id` | Specify the replica Id. Must be unique per replica, leave blank for random [$DTR_REPLICA_ID] | +| `--unsafe` | Enable this flag to skip safety checks when installing or joining [$DTR_UNSAFE] | | `--existing-replica-id` | ID of an existing replica in a cluster [$DTR_EXISTING_REPLICA_ID] | | `--replica-http-port "0"` | Specify the public HTTP port for the DTR replica [$REPLICA_HTTP_PORT] | | `--replica-https-port "0"` | Specify the public HTTPS port for the DTR replica [$REPLICA_HTTPS_PORT] | diff --git a/reference/remove.md b/reference/remove.md index 89c589c416..0b601a8f78 100644 --- a/reference/remove.md +++ b/reference/remove.md @@ -35,5 +35,7 @@ DTR containers, and deletes all DTR volumes. | `--hub-password` | Specify the Docker Hub password for pulling images [$HUB_PASSWORD] | | `--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] | +| `--force-remove` | Force removal of replica even if it will break your cluster's state [$DTR_CONFIG_ONLY] | | `--replica-id` | Specify the replica Id. Must be unique per replica, leave blank for random [$DTR_REPLICA_ID] | | `--existing-replica-id` | ID of an existing replica in a cluster [$DTR_EXISTING_REPLICA_ID] |