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
First, great talk, Meysam. Highlight of the conference.
New to Docker Compose, Followed alone, but not really understand network_mode: "host" option in traefic gateway.
Thanks, @RichardLee0211 for bringing this up and for the kind words. I have faced some issues with the macOS earlier, could you specify why OS you're using?
Also, to answer your question,network_mode: host is just as if you run the application in your host machine without any container because the application inside the container would attach to the network of your local machine; therefore naming "host". This means that if the application is opening ANY port, that port will be exposed on your local machine.
For example, if I run nginx with the network_mode: host mode, it would simply be as if I run the Nginx binary inside my machine, listening on port 80 and giving access to anyone inside my network to see the index page of the Nginx.
First, great talk, Meysam. Highlight of the conference.
New to Docker Compose, Followed alone, but not really understand network_mode: "host" option in traefic gateway.
from: https://docs.docker.com/compose/compose-file/#network_mode
gives the container raw access to host’s network interface
not sure what it means
and my setup failed to curl svc.dockercon2022.com and localhost:8080
feel like I missed some point
here's the situation:
or use entire-platform
The text was updated successfully, but these errors were encountered: