When starting a container with docker run and the flag -p 104:104, the port 104 of the host should be mapped to the port 104 inside the container.
The port is not mapped. It is only reachable via the ip of the docker container instance, retrieved via docker-inspect.
Host OS is Windows Server 2016 14393
This has definitely worked last year, not sure which version that was.
Steps to reproduce the behavior
Can be reproduced even with the sample iis container:
- docker run -p 8080:80 microsoft/iis
- Access localhost:8080 -> not reachable