Access docker container from another machine
Hi, I am trying to access my docker tomcat container which is inside centos vm from my local windows browser.
-
My tomcat container ip is 172.17.0.3
and port that i mapped to it is 8888
...
Actually my project needs java7, tomcat 7 and mysql. I have installed docker in a CentOS vm and created two containers and linked them using link keyword.
for trial i am trying to run the tomcat container from my local windows machine using http://container_ip:port/appname. but it says connection refused. I am not sure how to connect with my docker container from my local machine.
Please sign in to leave a comment.
Comments
1 comment