You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 22, 2018. It is now read-only.
When minimesos starts up on Mac it states: "Detected Mac Environment X so running with --mapPortsToHost so master and marathon ports are mapped to localhost."
And then after the cluster comes up: "You are running Docker on Mac so use localhost instead of container IPs for Master, Marathon, Zookeepr and Consul"
However, when I try to talk to Consul using the the following curl command: curl -X GET https://localhost:8500/v1/catalog; or use marathon with localhost:8080 - it fails. I have to always run: sudo route delete 172.17.0.0/16; sudo route -n add 172.17.0.0/16 $(docker-machine ip ${DOCKER_MACHINE_NAME}) in order to access any application or service running in the ecosystem.
Here is a test using telnet:
telnet localhost 8500
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host
But when I use the address provide on startup, things work as they should:
telnet 172.17.0.7 8500
Trying 172.17.0.7...
Connected to 172.17.0.7.
Escape character is '^]'.
Does the mapping to localhost only work if you are running Docker for Mac; or should this work on a Mac regardless? I think the latter. But I guess I am missing something.
The text was updated successfully, but these errors were encountered:
When minimesos starts up on Mac it states: "Detected Mac Environment X so running with --mapPortsToHost so master and marathon ports are mapped to localhost."
And then after the cluster comes up: "You are running Docker on Mac so use localhost instead of container IPs for Master, Marathon, Zookeepr and Consul"
However, when I try to talk to Consul using the the following curl command: curl -X GET https://localhost:8500/v1/catalog; or use marathon with localhost:8080 - it fails. I have to always run: sudo route delete 172.17.0.0/16; sudo route -n add 172.17.0.0/16$(docker-machine ip $ {DOCKER_MACHINE_NAME}) in order to access any application or service running in the ecosystem.
Here is a test using telnet:
telnet localhost 8500
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host
But when I use the address provide on startup, things work as they should:
telnet 172.17.0.7 8500
Trying 172.17.0.7...
Connected to 172.17.0.7.
Escape character is '^]'.
The mac installation for minimesos is performed as recommended from: http://minimesos.readthedocs.io/en/0.13.0/#building-and-running-on-mac-with-docker-machine
Does the mapping to localhost only work if you are running Docker for Mac; or should this work on a Mac regardless? I think the latter. But I guess I am missing something.
The text was updated successfully, but these errors were encountered: