设置node_app_instance变量

时间:2018-11-04 13:59:03

标签: docker docker-compose hyperledger-fabric hyperledger-composer ibm-blockchain

我正在通过以下有关Hyperleder作曲器的教程

https://www.ibm.com/developerworks/cloud/library/cl-model-test-your-blockchain-network-with-hyperledger-composer-playground/index.html

我需要安装docker并运行以下命令的地方

docker run --name composer-playground --publish 8080:8080 hyperledger/composer-playground

但是当我运行上述命令时,出现以下错误:

sai@sai-PC MINGW64 /c/Program Files/Docker Toolbox

$ docker run --name composer-playground --publish 8080:8080 hyperledger/compose
r-playground
2018-11-04T13:31:22: PM2 log: Launching in no daemon mode
2018-11-04T13:31:23: PM2 log: App [composer-playground:0] starting in -fork 
mode
-
2018-11-04T13:31:23: PM2 log: App [composer-playground:0] online
WARNING: NODE_APP_INSTANCE value of '0' did not match any instance config 
file names.
WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
2018-11-04T13:31:25.068Z INFO    :LoadModule               :loadModule()
  Loading composer-wallet-filesystem from /home/composer/.npm-global/lib/nod
e_modules/composer-playground/node_modules/composer-wallet-filesystem {}$
2018-11-04T13:31:25.109Z INFO    :PlaygroundAPI            :createServer()
  Playground API started on port 8080 {}$

我在互联网上找不到特定的解决方案,但似乎与PM2有关,我需要创建default-o.json文件。但是我不知道./config

的确切路径

感谢有人指导解决问题。

0 个答案:

没有答案