win < docker < nginx ipconfig -
just better understanding:
i have windows7 machine/virtualbox. docker machine runing deployed nginx container it. far good.
now wonder...
in documentations stands have use:
docker run -d -p 8080:80 nginximg and can reach engine
localhost:8080
but in env localhost cant reach container. have use "docker-machin ip". e.g.
192.168.99.100:8080 , reaches nginx container.
its ok me, want know why works diffrent on machine in docs explained?? did miss or made mistake?
kind regards gregor
when localhost means host machine docker server running. in case virtual machine. has ip 192.168.99.100.
if vm has gui installed , can launch browser inside vm able browse localhost:8080 inside vm.
but windows machine vm remote server. need ip reach it.
Comments
Post a Comment