-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Docker for Mac #195
base: master
Are you sure you want to change the base?
Conversation
Use localhost instead of container ip and redirected ports For ActiveMQ
} else { | ||
return "tcp://"+ip+":61616"; | ||
} | ||
return String.format("tcp://%s:%d", ipBound(61616), port(61616)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I leave have to try this locally...I had issues when I started using podman on Fedora...hence why I had protection if ip was null.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will use localhost and port forwarding.
For anybody using mac you can't directly access the container ip, you need to use the forwarded ports
using system property docker.portforward
I've changed it so it continues to work as is, but with a system property |
It makes the tests pass but is not the way it should work Use the same port forward before and after restart
This reverts commit cb967fd.
Use localhost instead of container ip and redirected ports
For ActiveMQ