Hacker Newsnew | past | comments | ask | show | jobs | submit | NerdyBird's commentslogin

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



That’s what he said


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: