Closed ryan-clancy closed 5 years ago
This ensures that all ports EXPOSE'd in the Dockerfile are accessible on the host.
EXPOSE
Dockerfile
For example, the line EXPOSE 8983 would map the container's port 8983 to a random, available port on the host which can be accessed by the user.
EXPOSE 8983
8983
This ensures that all ports
EXPOSE
'd in theDockerfile
are accessible on the host.For example, the line
EXPOSE 8983
would map the container's port8983
to a random, available port on the host which can be accessed by the user.