-3

我正在从https://hyperledger-fabric.readthedocs.io/en/release-1.4/chaincode4ade.html运行链代码示例;当我尝试 bash 到容器“cli”时,我收到错误消息...

$winpty docker exec -it cli bash 
Error response from daemon: Container 
cli is not running
4

1 回答 1

0

停止网络,清理所有容器,然后重新启动,对我来说工作正常:)

$docker stop $(docker ps -a -q)
$docker ps -qa|xargs docker rm
$cd...fabric-samples/first-network
$docker-compose -f docker-compose-cli.yaml up
于 2019-06-04T06:10:44.157 回答