osx - How do I connect to a docker container running on a different host on a mac? -
i have set docker on mac using kinematic. have mysql container running.
so, 'schematic', believe, looks this: (mac1 (virtualbox docker host (mysql container))).
mac1 ip: 10.10.10.100 mysql container: 192.168.99.100 running on port 32500 (mapped 3306)
i can access mysql server via 192.168.99.100:32500 mac1 without issues.
now, when go mac2 on network, cannot access mysql container.
so, mac2 ip: 10.10.10.200 cannot see 192.168.99.100:32500. mac2 gets ping response, not sure if getting way mysql container.
i'm thinking of installing proxy on mac1, wanted check first.
none of questions posed here seemed account kinematic install on mac, , ones referring boot2docker didn't address question either.
any insights welcome! in advance.
if looking simplest way expose container port network, map virtual box port onto mac1 , access outside.
Comments
Post a Comment