Docker Community Forums

Share and learn in the Docker community.

Unable to reconfigure DTR --dtr-storage-volume


(Dockerfda) #1

Got the following error while reconfiguring --dtr-storage-volume on the DTRs. The UCP URL input below is the same value provided during DTR installation (successful DTR installation):

docker run -it --rm docker/dtr:2.5.0-beta3 reconfigure --dtr-storage-volume /xxx

INFO[0000] Starting phase1 reconfigure
ucp-url (The UCP URL including domain and port): https://yyy
ucp-username (The UCP administrator username): zzz
INFO[0017] Validating UCP cert
INFO[0017] Connecting to UCP
ERRO[0017] Reconfigure has failed. Try running it again.
ERRO[0017] failed to get new conv client: failed to create http client: Failed to get UCP CA: Get https://yyy/ca: x509: certificate signed by unknown authority

(Patrick Devine) #2

I realize this was a while ago, but the you need to use the --ucp-insecure-tls flag, or the --ucp-ca flag. The problem is your UCP CA cert isn’t trusted.