Noor Khan
Noor Khan

Reputation: 159

Getting error no such container: cli when running hyperledger fabric samples first network

I was run successfully first network and fabcar, then i tried to run commercial paper. here i got this error no such container cli. now i tried back first network there is also the same error.

I am running hyperledger fabric 1.4 on ubuntu 18.4 with docker 18.x, everything was running fine but suddenly got the above error. tried different ways like changing docker-compose-cli.yaml to docker-compose.yaml, removed docker, docker compose and everything related like docker images and reinstall fresh docker and docker-compose, re clone fabric samples and docker images for samples...but still the problem exist.

here is error log:

ERROR: .IOError: [Errno 2] No such file or directory: './docker-compose-cli.yaml' ...

Error: No such container: cli
ERROR !!!! Test failed```

The ERROR shows that no such file or directory but i have the file docker-compose-cli.yaml in the same directory

Upvotes: 2

Views: 2543

Answers (1)

metadata
metadata

Reputation: 1189

Upgrade your docker-compose version.

Upvotes: 1

Related Questions