Closed ewf-devops closed 3 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.
docker-compose.yml
network_mode
”host”
This results in the OCN nodes being unreachable on localhost, which means the servers in the ocn-demo are unable to connect to them.
ocn-demo
One solution could be to run the ocn-demo servers in the same docker network as the nodes and ganache.
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
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 thenetwork_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.