Symptoms:
When connecting the docker client to the Virtual Container Host, the following error is seen:
$ docker -H labvch.cloud.local:2376 --tlsverify --tlscert="client.crt" --tlskey="client.key" --tlscacert="/root/vic/certs/ca.crt" info
An error occurred trying to connect: Get https://labvch.cloud.local:2376/v1.24/info: remote error: tls: handshake failure
The docker client defaults to the OS proxy settings. If the proxy does not pass the docker client's certificates unaltered to the VCH, then the connection will not succeed.
Use the docker client switch option, --no-http-proxy to ignore the OS proxy settings.
For example:$ docker -H labvch.cloud.local:2376 --tlsverify --tlscert="client.crt" --tlskey="client.key" --tlscacert="/root/vic/certs/ca.crt" --no-http-proxy info