Files
docker-docs/datacenter/dtr/2.1/reference/cli/reconfigure.md
Misty Stanley-Jones a4f5e30249 Various copyedits to reduce future tense, wordiness, and use of 'please' (#5788)
* Reword lots of instances of 'will'

* Reword lots of instances of won't

* Reword lots of instances of we'll

* Eradicate you'll

* Eradicate 'be able to' type of phrases

* Eradicate 'unable to' type of phrases

* Eradicate 'has / have to' type of phrases

* Eradicate 'note that' type of phrases

* Eradicate 'in order to' type of phrases

* Redirect to official Chef and Puppet docs

* Eradicate gratuitous 'please'

* Reduce use of e.g.

* Reduce use of i.e.

* Reduce use of N.B.

* Get rid of 'sexagesimal' and correct some errors
2018-01-25 17:37:23 -08:00

3.0 KiB

description, keywords, title
description keywords title
Change DTR configurations docker, dtr, cli, reconfigure docker/dtr reconfigure

Change DTR configurations

Usage

docker run -it --rm docker/dtr \
    reconfigure [command options]

Description

This command changes specified configurations for DTR and leaves existing configurations in its original state.

WARNING: DTR is restarted for the new configurations to take effect. To have no down time, configure your DTR for high-availability.

Options

Option Description
--ucp-url Specify the UCP controller URL including domain and port
--ucp-username Specify the UCP admin username
--ucp-password Specify the UCP admin password
--debug Enable debug mode, provides additional logging
--hub-username Specify the Docker Hub username for pulling images
--hub-password Specify the Docker Hub password for pulling images
--http-proxy Set the HTTP proxy for outgoing requests
--https-proxy Set the HTTPS proxy for outgoing requests
--no-proxy Set the list of domains to not proxy to
--replica-http-port Specify the public HTTP port for the DTR replica; 0 means unchanged/default
--replica-https-port Specify the public HTTPS port for the DTR replica; 0 means unchanged/default
--log-protocol The protocol for sending container logs: tcp, tcp+tls, udp or internal. Default: internal
--log-host Endpoint to send logs to, required if --log-protocol is tcp or udp
--log-level Log level for container logs. Default: INFO
--log-tls-ca-cert PEM-encoded TLS CA cert for DTR logging driver. This option is ignored if the address protocol is not tcp+tls.
--log-tls-cert PEM-encoded TLS cert for DTR logging driver. This option is ignored if the address protocol is not tcp+tls.
--log-tls-key PEM-encoded TLS key for DTR logging driver. This option is ignored if the address protocol is not tcp+tls.
--log-tls-skip-verify Configures DTR logging driver's TLS verification. This verification is enabled by default, but it can be overrided by setting this option to true. This option is ignored if the address protocol is not tcp+tls.
--dtr-external-url Specify the external domain name and port for DTR. If using a load balancer, use its external URL instead.
--enable-pprof Enables pprof profiling of the server
--etcd-heartbeat-interval Set etcd's frequency (ms) that its leader will notify followers that it is still the leader.
--etcd-election-timeout Set etcd's timeout (ms) for how long a follower node will go without hearing a heartbeat before attempting to become leader itself.
--etcd-snapshot-count Set etcd's number of changes before creating a snapshot.
--ucp-insecure-tls Disable TLS verification for UCP
--ucp-ca Use a PEM-encoded TLS CA certificate for UCP
--nfs-storage-url URL (with IP address or hostname) of the NFS mount if using NFS. For example, nfs://<ip address>/<mount point>
--existing-replica-id ID of an existing replica in a cluster