zenbot icon indicating copy to clipboard operation
zenbot copied to clipboard

Docker instances not coming up

Open felipecaldas opened this issue 9 years ago • 4 comments

Hi guys,

Very much followed the instructions:

git clone https://github.com/carlos8f/zenbot.git cd zenbot docker-compose build docker-compose up (-d if you don't want to see the log)

And I end up with:

C:\Users\Felipe\zenbot>docker images REPOSITORY TAG IMAGE ID CREATED SIZE zenbot_btc-usd latest 11c4e77122dd 22 minutes ago 750 MB zenbot_reducer latest 11c4e77122dd 22 minutes ago 750 MB zenbot_server latest 11c4e77122dd 22 minutes ago 750 MB

but when I run docker-compose up, this is what I get:

C:\Users\Felipe\zenbot>docker-compose up Removing zenbot_reducer_1 Removing zenbot_btc-usd_1 Starting zenbot_mongodb-data_1 Starting zenbot_mongodb_1 Recreating 37c92cf401d9_37c92cf401d9_zenbot_reducer_1 Recreating fd9cbb009996_fd9cbb009996_zenbot_btc-usd_1

ERROR: for reducer Cannot start service reducer: Cannot link to a non running container: /zenbot_mongodb_1 AS /zenbot_reducer_1/mongodb

ERROR: for btc-usd Cannot start service btc-usd: Cannot link to a non running container: /zenbot_mongodb_1 AS /zenbot_btc-usd_1/mongodb ERROR: Encountered errors while bringing up the project.

Should I be running the three images manually first before issuing the compose up command?

I tried:

C:\Users\Felipe\zenbot>docker run -it zenbot_server

But as you can see I end up with the Node command-line.

Any help much appreciated

Thanks, Felipe

felipecaldas avatar May 19 '17 07:05 felipecaldas

Hi Felipe,

Check a dock info file in git,i suppose it's a problem that mongodb is not running or its directory is not set corret. Try running mongodb direct on dock Sorry for my eng is google translate !

enriquevago avatar May 19 '17 17:05 enriquevago

@enriquevago , se hablas espanol tu puedes me escribir aqui If I understand you right, you're saying there is a docker info file in this Github repo that might help me. I will check it out Thanks

felipecaldas avatar May 20 '17 05:05 felipecaldas

@felipecaldas @enriquevago is correct, mongodb doesn't seem to be running. check the error log why, possibly the port is already taken by something else

egorbenko avatar May 23 '17 12:05 egorbenko

Closing due to age, feel free to comment if you're still having problems.

DeviaVir avatar Jun 03 '17 04:06 DeviaVir