I am working with Hyperledger Fabric for my job and I'm trying to learn about the network and docker, and I'm following along with this tutorial. I get to the step where I need to enter the CLI container using docker exec -it cli bash
but when I enter that, I get the following error:
Error response from daemon: Container ddc2288c83a89c478f9b31b7a3273994ec4767d63e58208c8e4b145ae44b0579 is not running
I get this even after I started the network with docker-compose -f docker-compose-cli.yaml up -d
and even enter docker start cli
for good measure, which is exactly what the tutorial told me to do.
I can confirm it exits immediately because when I enter docker ps -a
into my terminal, it shows all the processes but the cli for some reason exits immediately:
What's causing this? What can I do to fix it? The tutorial says that if CLI exits you just enter docker start cli
to initialize it again, but it doesn't work.