qyvlik / viabtc_exchange_server_docker

easy run viabtc_exchange_server use docker compose. I fix it, then it work in centos , mac and ubuntu
37 stars 22 forks source link

Error while doing docker-compose up. #13

Open dev1644 opened 6 years ago

dev1644 commented 6 years ago

1 week ago, I downloaded this repo and did docker-compose up, it was working perfectly fine. Then after 2 days when I again tried to run the engine, I got the following error -: Starting btc-redis-sentinel ... error

ERROR: for redis_sentinel Cannot start service redis_sentinel: b'driver failed programming external connectivity on endpoint btc-redis-sentinel (d18bad036a7b868df6ae5e9d12c3a06fcfa079fc9efb409f62ef2768ef0534f6): Error starting userland proxy: listen tcp 0.0.0.0:26379: bind: address already in use' ERROR: Encountered errors while bringing up the project.

I thought it was because of another process running on the same port. So I tried to find out and kill the process, But there was no process running on this port.

The solutions which I have tried up until now -:

  1. docker prunes all the images and rebuild it.
  2. Re-Cloned it and it also doesn't work.
  3. Kill most of the irrelevant process.

I also tried this repo on my friend's mac, It was working like a charm. Don't know why but it stopped working on my system.

qyvlik commented 6 years ago

@dev1644 Your system name and version?

dev1644 commented 6 years ago

@qyvlik Ubuntu 18.04 bionic.

ocReaper commented 6 years ago

It happens sometimes on Windows. All I have to do is restart the docker service. Sometimes the docker machine messes up its internal dhcp.. I hope this helps.

dev1644 commented 6 years ago

@ocReaper Hi, I have already tried docker service restart, pruned all of the images, volumes, it didn't work.