-
Notifications
You must be signed in to change notification settings - Fork 36
IP addresses in config map are not correct on Docker for Mac #34
Comments
I tried a build with the changes on |
Hi @michaelpigg, I'm glad you already found the |
Please consider merging and releasing the dockerForMacSupport branch, the exported ip:port isn't very useful with docker for mac at the moment. However, if somebody is using Alpine Linux via some boot2docker alternative or as a host OS, won't it mis-detect it as docker for mac, which would break the hostname for those users? I guess it's not that common though. I don't know of the "proper" way to probe for docker for mac, so I'd suggest also adding a check for Also see discussions on fixing this issue in docker for mac itself, it's a known issue: |
Hi @stela - Thanks for pinging me on this issue and providing some links with your research. I had looked into this a while back myself and came up with an approach that appears to work but didn't get around to implementing the actual change until today. The approach I took was to additionally validate that the See the following thread for a bit of discussion on this: I have merged these changes into the Let me know if it works for you. Thanks again for the feedback and using the plug-in! |
Works perfectly on my Mac using the |
Great I'm glad that it's working as expected! |
When running on Docker for Mac, the IP address reported for the machine in the config map is not correct. The plugin appears to be reporting the IP address within the machine rather than the external IP address.
The text was updated successfully, but these errors were encountered: