CityOfZion / neo-local

Personal blockchain for NEO dApp development!
MIT License
52 stars 26 forks source link

docker-compose network_mode flag is not supported on windows/mac #148

Closed nunojusto closed 5 years ago

nunojusto commented 5 years ago

Summary

When using docker on Mac or docker for windows, the flag "network_mode: host" does not work properly. This is due to the way docker runs on those OS. They run inside a virtual machine. https://github.com/docker/compose/issues/4783#issuecomment-301881612

To Reproduce

Run docker-compose up on windows or Mac Does not give any error, but neo-python needs to have his port on localhost (host port).

Expected Behaviour

It all works correctly

Docker

All

Docker Compose

All

Operating System

Mac or Windows