Instantiating Chaincode in Hyperledger Composer with local npm registry
I want to instantiate a chaincode in an environment without any Internet connection. As the chaincode container will issue npm install upon instantiation, I added a new container called npmregistry in the docker-composer.yml so that it is provisioned alongside the rest of the Fabric containers and belongs to the same docker network (composer_default). Note I'm using the fabric-tools downloaded from https://hyperledger.github.io/composer/latest/installing/development-tools.html ) npmregistry: container_name: npmregistry image: verdaccio/verdaccio volumes: - /home/user/repo/:/verdaccio/storage/