I read a little about the relationship between Docker containers. The flag -—iccallows all containers to interact with each other. By default, the flag is set by default.
As I understand it, it will ignore any Ad EXPOSE/ -—expose. They are executed only if the parameter is —-iccset to false.
- So why do we open ports in the first place?
- Or why isc not set to false by default?
source
share