mirror of https://github.com/docker/docs.git
Updates docs with --dtr-external-url flag
This commit is contained in:
parent
cc40fc62b7
commit
ad75449121
|
@ -57,8 +57,8 @@ To install DTR:
|
||||||
$ docker run -it --rm \
|
$ docker run -it --rm \
|
||||||
docker/dtr install \
|
docker/dtr install \
|
||||||
--ucp-url $UCP_URL \
|
--ucp-url $UCP_URL \
|
||||||
--ucp-node $UCP_NODE \
|
--ucp-node $NODE_HOSTNAME \
|
||||||
--dtr-load-balancer $DTR_PUBLIC_IP \
|
--dtr-external-url $DTR_PUBLIC_IP \
|
||||||
--ucp-username $USER --ucp-password $PASSWORD \
|
--ucp-username $USER --ucp-password $PASSWORD \
|
||||||
--ucp-ca "$(cat ucp-ca.pem)"
|
--ucp-ca "$(cat ucp-ca.pem)"
|
||||||
```
|
```
|
||||||
|
@ -66,10 +66,10 @@ To install DTR:
|
||||||
Where:
|
Where:
|
||||||
|
|
||||||
* ucp-url, is the URL of the UCP controller,
|
* ucp-url, is the URL of the UCP controller,
|
||||||
* ucp-node, is the node on the ucp cluster where DTR will be installed,
|
* ucp-node, is the hostname of the UCP node where DTR will be installed,
|
||||||
* dtr-load-balancer, is the public IP or domain name where DTR can be reached,
|
* 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-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.
|
3. Check that DTR is running.
|
||||||
|
|
|
@ -44,8 +44,9 @@ the 'join' command.
|
||||||
| `--log-protocol` | The protocol for sending container logs: tcp, udp or internal. Default: internal [$LOG_PROTOCOL] |
|
| `--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-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] |
|
| `--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-insecure-tls` | Disable TLS verification for UCP [$UCP_INSECURE_TLS] |
|
||||||
| `--ucp-ca` | Use a PEM-encoded TLS CA certificate for UCP [$UCP_CA] |
|
| `--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] |
|
| `--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] |
|
| `--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] |
|
||||||
|
|
|
@ -37,9 +37,11 @@ the cluster.
|
||||||
| `--debug` | Enable debug mode, provides additional logging [$DEBUG] |
|
| `--debug` | Enable debug mode, provides additional logging [$DEBUG] |
|
||||||
| `--hub-username` | Specify the Docker Hub username for pulling images [$HUB_USERNAME] |
|
| `--hub-username` | Specify the Docker Hub username for pulling images [$HUB_USERNAME] |
|
||||||
| `--hub-password` | Specify the Docker Hub password for pulling images [$HUB_PASSWORD] |
|
| `--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-ca` | Use a PEM-encoded TLS CA certificate for UCP [$UCP_CA] |
|
||||||
| `--ucp-node` | Specify the host to install Docker Trusted Registry [$UCP_NODE] |
|
| `--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] |
|
| `--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] |
|
| `--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-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] |
|
| `--replica-https-port "0"` | Specify the public HTTPS port for the DTR replica [$REPLICA_HTTPS_PORT] |
|
||||||
|
|
|
@ -35,5 +35,7 @@ DTR containers, and deletes all DTR volumes.
|
||||||
| `--hub-password` | Specify the Docker Hub password for pulling images [$HUB_PASSWORD] |
|
| `--hub-password` | Specify the Docker Hub password for pulling images [$HUB_PASSWORD] |
|
||||||
| `--ucp-insecure-tls` | Disable TLS verification for UCP [$UCP_INSECURE_TLS] |
|
| `--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-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] |
|
| `--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] |
|
| `--existing-replica-id` | ID of an existing replica in a cluster [$DTR_EXISTING_REPLICA_ID] |
|
||||||
|
|
Loading…
Reference in New Issue