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


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:
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 to automatically receive all group messages.