./byfn.sh:第116行:docker-compose:未找到命令(Hyperledger .byfn.sh -m up错误)

时间:2017-10-05 22:35:58

标签: docker-compose hyperledger-fabric hyperledger

我正在尝试在Ubuntu 14.04上安装Hyperledger示例。

遵循本教程中的所有步骤。我被困在构建你的第一个网络脚本。当我运行./bynf.sh -m -up时,我收到以下错误:

boss@ubuntu:/tmp/fabric-samples/first-network$ ./byfn.sh -m up
Starting with channel 'mychannel' and CLI timeout of '10000'
Continue (y/n)? y
proceeding ...
./byfn.sh: line 116: docker-compose: command not found
ERROR !!!! Unable to start network
Error response from daemon: No such container: cli
boss@ubuntu:/tmp/fabric-samples/first-network$ 

1 个答案:

答案 0 :(得分:0)

我的Ubuntu上没有安装Docker Compose。 按照下面链接中的步骤进行操作:

https://docs.docker.com/compose/install/#install-compose