Better HN
topnewbestaskshowjobs
Log inSign up

NerdyBird

2 karma · joined Sep 9, 2020 (6y ago) · 1 submissions

Submissions

comment 6y ago · link · parent

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