Search code examples
hyperledger-composerwindows-subsystem-for-linux

Fabric-Composer on Windows 10 linux sub system?


Has anyone succeeded in running fabric-composer on windows 10 linux sub-system running ubuntu 16.04 ?


Solution

  • You can run composer on windows 10 WSL (windows Subsystem for linux) but you will not be able to run docker containers in it. Linux Docker containers require a linux kernel and WSL doesn't have a linux kernel. It is a clever piece of technology that converts user space Linux API calls dynamically to windows API calls.

    Therefore you will have to run hyperledger fabric either by using docker for windows (which runs it for you in hyper-v) or you run your own hypervisor.

    It is possible to have the docker commands run in WSL but it will need to configure it to interact with the docker daemon running inside a hypervisor.