corca-ai / EVAL

EVAL(Elastic Versatile Agent with Langchain) will execute all your requests. Just like an eval method!
MIT License
869 stars 82 forks source link

Bind for 0.0.0.0:8000 failed: port is already allocated #20

Closed magick93 closed 1 year ago

magick93 commented 1 year ago

I keep getting the following error:

Error response from daemon: driver failed programming external connectivity on endpoint eval.gpu (260097999e8823c48153d3037a64c28d39973bc219dd9af055eb56dbdc280e24): Bind for 0.0.0.0:8000 failed: port is already allocated

However, I dont have anything running on port 8000. lsof -i :8000 does not return a result.

Also, I have set in the .env file - USE_GPU=False yet it still seems, at least based on the above, to be trying to use the gpu.

hanchchch commented 1 year ago

docker-compose.yml has 2 services, one with gpu and one without it. If you just run docker-compose up it would try to serve both and cause this problem. We updated about this on README.md few days ago so please refer it!

magick93 commented 1 year ago

Awesome! My apologies for not reading carefully enough.