I am new to docker. Just tried to run a container on port 80
docker run -p 80:80 kitematic/hello-world-nginx
and it seems to be working fine. I can get to the site at http://192.168.99.100/
but i tried changing the port to
docker run -p 70:50 kitematic/hello-world-nginx
and i cannot get to site at http://192.168.99.100:70. So how can i set a different port and connect to site please?
Please try:
docker run -p 70:80 kitematic/hello-world-nginx
binding port is probably mistyped in the command you provided.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With