#fabric #minifab #windows10 #hyperledger-fabric #network #fabric #minifab #windows10 #hyperledger-fabric #network


zilich@...
 

I installed minifab to windows 10... I worked with WSL 2 and HLF on windows...

 

Here is error which was received on command:

C:\Users\Owner\mywork>

C:\Users\Owner\mywork>minifab.cmd  generate

Minifab Execution Context:

    FABRIC_RELEASE=2.2.0

    CHANNEL_NAME=mychannel

    PEER_DATABASE_TYPE=golevel

    CHAINCODE_LANGUAGE=go

    CHAINCODE_NAME=simple

    CHAINCODE_VERSION=1.0

    CHAINCODE_INIT_REQUIRED=true

    CHAINCODE_PARAMETERS="init","a","200","b","300"

    CHAINCODE_PRIVATE=false

    CHAINCODE_POLICY=

    TRANSIENT_DATA=

    BLOCK_NUMBER=newest

    EXPOSE_ENDPOINTS=false

    CURRENT_ORG=org0.example.com

    HOST_ADDRESSES=10.10.250.7,192.168.1.3

    WORKING_DIRECTORY: //C/Users/Owner/mywork

...

# Preparing for the following operations: *********************

  verify options, remove certificates, generate certificates

.......

# Running operation: ******************************************

  verify options

.

# Running operation: ******************************************

  remove certificates

..

# Running operation: ******************************************

  generate certificates

...........

# Use fabric tools container to create channel artifacts ******

  non-zero return code

  docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: \"/etc/hyperledger/fabric/run/certtxgen.sh\": stat /etc/hyperledger/fabric/run/certtxgen.sh: no such file or directory": unknown.

 

# STATS *******************************************************

minifab: ok=30  failed=1

 

real    0m14.935s

user    0m12.582s

sys     0m1.624s

 

C:\Users\Owner\mywork>

C:\Users\Owner\mywork>

Same error is and on command:  networkup... 

 

#fabric #minifab #windows10


Ry Jones
 

Hi,
I filed a bug for this:

If you have WSL2, the same repo and commands work there. I suggest using the WSL CLI. Disabling the WSL2 Docker integration stops it from running at all.
Ry

On Fri, Jul 31, 2020 at 8:55 AM <zilich@...> wrote:

I installed minifab to windows 10... I worked with WSL 2 and HLF on windows...

--
Ry Jones
Community Architect, Hyperledger