When you define the Docker container you have to specify which ports on the external device (the host where Docker runs) are forwarded to ports within the container; so for instance you could configure external port 9080 to map to internal port 8080. You would then access the application running in the container that was listening on port 8080 by connecting to port 9080 of your physical host.
Sent from my Pixel 7a using Tapatalk
|