-
Notifications
You must be signed in to change notification settings - Fork 712
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
Docker-compose file doesn't work on Mac #2842
Comments
These log messages look pretty normal to me. What isn't working? |
can't hit the app on localhost:4040 |
Is this the whole If so, you are not exposing the port you are trying to hit. Please add:
|
Though of that, added the port, didn't fix it though. Seems like its ignored :
|
That shouldn't be necessary. The container is running in the host netns. |
Besides, I wouldn't expect our examples to be so blatantly broken. |
does |
Nope
|
btw, this does work just fine for me.
|
|
Tested v1 too, with scope 1.6, 1.5, 1.4 and 1.3 |
works fine for me on Linux with v2 and
|
The good old it works on my machine, docker was supposed to fix this :D |
|
Alright, so gave it a shot on another mac, didn't work Tested it on a linux machine, running docker 17.05.0-ce and compose 1.12.0, and it worked just fine, same way described in the docs.
Very confusing... |
btw, running the app and the probe via docker, with these instructions works everywhere (linux/mac, all docker versions) |
perhaps try adding the equivalent of |
this works fine, everywhere :
Thanks for the support. |
Found this around : #1411 |
The docker-compose docs are complicated enough as is, so I'd rather avoid having multiple variants. But I guess we have no choice :( Running with |
network_mode host does not work on mac |
We need to at least note the problem in the docs. |
This is an issue on WSL2 with Docker compose : #3887, the suggested fix above seems to work (#2842 (comment)) |
Using this docker-compose file locally, like described in the doc here :
When running it :
The text was updated successfully, but these errors were encountered: