参考文章1:http://www.blockchainbrother.com/question/343
参考文章2: https://yq.aliyun.com/articles/238940
解决办法:编辑fabric-samples/basic-network/docker-compose.yml
在所有services的environment中添加一行“ - GODEBUG=netdns=go” 即可,问题解决。
例如:
environment:
- GODEBUG=netdns=go
- FABRIC_CA_HOME=/etc/hyperledger/fabric-ca-server
- FABRIC_CA_SERVER_CA_NAME=ca.example.com
- FABRIC_CA_SERVER_CA_CERTFILE=/etc/hyperledger/fabric-ca-server-config/ca.org1.example.com-cert.pem
- FABRIC_CA_SERVER_CA_KEYFILE=/etc/hyperledger/fabric-ca-server-config/4239aa0dcd76daeeb8ba0cda701851d14504d31aad1b2ddddbac6a57365e497c_sk
网友评论