Re: Fabric 2.1.1 on EKS - can't install chaincode #fabric #fabric-kubernetes #fabric-chaincode


julian@...
 

After further investigation I can see a chaincode container is being created on one of the EKS nodes. Therefore it's not a container runtime issue. I have inspected the chaincode container which starts and falls over, and I see the following config: https://pastebin.com/rEE4wfjA
It looks like the network mode is incorrect: "NetworkMode": "default". Previously in earlier version of fabric I had used the peer env var CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE to set this as required. It doesn't appear to be working this time around. I have attempted to set this to 'none', but it still shows as default when a chaincode container is started. Can anyone help?

Join fabric@lists.hyperledger.org to automatically receive all group messages.