energywebfoundation / ocn-node

Apache License 2.0
5 stars 4 forks source link

Tutorial does not work on MacOS #6

Closed ewf-devops closed 3 years ago

ewf-devops commented 4 years ago

Original report by Adam Staveley (Bitbucket: [Adam Staveley](https://bitbucket.org/Adam Staveley), GitHub: adamstaveley).


There is an issue with running the tutorial on MacOS.

The provided docker-compose.yml file relies on the network_mode of both OCN nodes being set to ”host”, however this option does not work on MacOS. See https://github.com/docker/compose/issues/3800 and https://github.com/docker/for-mac/issues/1031.

This results in the OCN nodes being unreachable on localhost, which means the servers in the ocn-demo are unable to connect to them.

One solution could be to run the ocn-demo servers in the same docker network as the nodes and ganache.

ewf-devops commented 3 years ago

Original comment by John Henderson (Bitbucket: [John Henderson](https://bitbucket.org/John Henderson), GitHub: jrhender).


Resolved by this PR https://bitbucket.org/shareandcharge/ocn-node/pull-requests/36