-
Notifications
You must be signed in to change notification settings - Fork 0
Hacks
James Taylor edited this page Jan 29, 2021
·
9 revisions
Running microfab with the latest Fabric binaries (tbc)
In the fabric repo...
TARGET=linux-amd64 RELEASE=unstable ./ci/scripts/create_binary_package.sh
Should create hyperledger-fabric-linux-amd64-unstable.tar.gz (and cause a mess because the script moves things!)
Untar the contents in a fabric-unstable directory where you want to run microfab.
Add the ca release to the fabric-unstable directory...
curl -sSL https://github.com/hyperledger/fabric-ca/releases/download/v1.4.9/hyperledger-fabric-ca-linux-amd64-1.4.9.tar.gz | tar xzf - -C ${PWD}/fabric-unstable
Edit core.yaml if required, e.g. add
peer:
gateway:
enabled: true
Set the MICROFAB_CONFIG environment variable and start microfab with...
docker run --name microfab --rm -v ${PWD}/fabric-unstable:/opt/fabric -p 8080:8080 -e MICROFAB_CONFIG ibmcom/ibp-microfab
Fail! Doesn't work. Permissions problem.
Plan B: new Dockerfile.