Suggest adding the description of expose of compose
wushu037 opened this issue · comments
无数 commented
File: 05-services.md
The description in the documentation is:
"expose defines the ports that Compose implementations MUST expose from container. These ports MUST be accessible to linked services and SHOULD NOT be published to the host machine. Only the internal container ports can be specified."
However, by default, containers in the same bridged network will expose all ports to each other, even if expose is not configured.
So what is the real meaning of expose?
Allie Sadler commented
Thanks for contributing @wushu037. Closing this issue as it has now been resolved!