I have installed docker EE on my ubuntu and running DTR and UCP but somehow while doing notary init. I’m seeing errors like below.
can you please help me to solve this, please
ec2-user@mydockernotary:~/.notary$ notary -D init docker/ucp-controller
DEBU[0000] Using the following trust directory: /home/ec2-user/.docker/trust
DEBU[0000] Trusting 1 certs
ERRO[0000] could not reach https://mydockernotary.corp.mot.comi:4443: Get https://mydockernotary.corp.mot.comi:4443/v2/: dial tcp: lookup mydockernotary.corp.mot.comi on 10.9.9.9:53: no such host
INFO[0000] continuing in offline mode
DEBU[0000] No yubikey found, using alternative key storage: no library found
DEBU[0000] No yubikey found, using alternative key storage: no library found
Root key found, using: cb91231dff5f8da9431cab0f18123dc28202c31a0fdca4ea3a3fc17af2655a9b
DEBU[0000] No yubikey found, using alternative key storage: no library found
Enter passphrase for root key with ID cb91231:
DEBU[0003] generated ECDSA key with keyID: d316a5200e9d5271eb0f5195ecd80e9300f4931b56777a304e180b69d277432a
DEBU[0003] generated new ecdsa key for role: targets and keyID: d316a5200e9d5271eb0f5195ecd80e9300f4931b56777a304e180b69d277432a
Enter passphrase for new targets key with ID d316a52 (docker/ucp-controller):
Repeat passphrase for new targets key with ID d316a52 (docker/ucp-controller):
DEBU[0010] generated ECDSA key with keyID: b8d5230cf223329399e9b8589cd11dacaf510c074b295f23ccbc6ca997201cb5
DEBU[0010] generated new ecdsa key for role: snapshot and keyID: b8d5230cf223329399e9b8589cd11dacaf510c074b295f23ccbc6ca997201cb5
Enter passphrase for new snapshot key with ID b8d5230 (docker/ucp-controller):
Repeat passphrase for new snapshot key with ID b8d5230 (docker/ucp-controller):
* fatal: client is offline
ec2-user@mydockernotary:~/.notary$
My notary config file is
ec2-user@mydockernotary> cat .notary/config.json
{
“trust_dir” : “~/.docker/trust”,
“remote_server”: {
“url”: “https://mydockernotary.corp.mot.com:4443”,
“root_ca”: “/usr/local/share/ca-certificates/mydockernotary.corp.mot.com.crt”
}
}
Thanks a lot in advance for your help.