This is false. Not listing the host port will make docker choose a random one. It however is still opened up in the firewall by default. Source: https://docs.docker.com/compose/compose-file/#ports
This is false. Not listing the host port will make docker choose a random one. It however is still opened up in the firewall by default. Source: https://docs.docker.com/compose/compose-file/#ports