senaite / senaite.docker

SENAITE Docker Container
GNU General Public License v2.0
48 stars 38 forks source link

EXPOSE in a Dockerfile does not publish a port #5

Closed SuperSandro2000 closed 1 year ago

SuperSandro2000 commented 3 years ago

This image exposes the TCP Port 8080 via EXPOSE 8080, so standard container linking will make it automatically available to the linked containers.

According to the Docker Docs https://docs.docker.com/engine/reference/builder/#expose this is not true. Also the page about legacy linking https://docs.docker.com/network/links/ does not mention that expose works like this.

ramonski commented 1 year ago

Updated the documentation in https://github.com/senaite/senaite.docker/commit/c4308fa8267fb738d0fb315f53827e9a26c0ad72