命令:
docker-compose --tlsverify --tlscacert=/path/to/ca/docker.crt --tlscert=/path/to/client/docker-cli.pem --tlskey=/path/to/private/docker-client.pem -H host.com:2376 up
报错:
ERROR: SSL error: HTTPSConnectionPool(host='host.com', port=2376): Max retries exceeded with url: /v1.25/info (Caused by SSLError(SSLError(1, u'[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:590)'),))
从报错信息来看是重试次数过多,那么如何重置该次数计数?
版本信息:
docker-compose --tlsverify --tlscacert=/Users/fourstring/Desktop/docker/docker.crt --tlscert=/Users/fourstring/Desktop/docker/docker-cli.pem --tlskey=/Users/fourstring/Desktop/docker/docker-client.pem -H zby.io:2376 version
docker-compose version 1.19.0, build unknown
docker-py version: 2.7.0
CPython version: 2.7.10
OpenSSL version: OpenSSL 0.9.8zh 14 Jan 2016