By default, Docker is locked down and no ports are exposed. We’ll cover how to expose ports when building your image with a Dockerfile
, and how to export that port as a service when running containers.
Link refers to wrong repository (https://github.com/markoshust/Run-Stateless-Docker-Containers/tree/master instead of https://github.com/markoshust/Export-Services-with-Docker-Port-Binding/tree/master).