Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
NerdyBird
· 6y ago · 0 comments
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
Comments
[–]
byteknight
6y ago
https://news.ycombinator.com/reply?id=24426759&goto=item%3Fi...
[–]
jradd
6y ago
That’s what he said