How to access tomcat running in docker container from browser?

前端 未结 5 1521
盖世英雄少女心
盖世英雄少女心 2020-12-05 05:00

I am running tomcat in my docker container from the Official Repo.

docker pull tomcat

And as per guidelines stated in the homepage I\'ve ru

5条回答
  •  盖世英雄少女心
    2020-12-05 05:21

    Using docker-machine ls to get the IP of the Virtual Box instance running the container. Then use that with the associated port you exposed, in my case 8080, so it was http://192.168.99.100:8080.

提交回复
热议问题