How to access tomcat running in docker container from browser?

前端 未结 5 1524
盖世英雄少女心
盖世英雄少女心 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:33

    run boot2docker ip to get the IP of your docker bridge. Then you can run curl BRIDGE_IP:8888 The IP will be something like 192.168.59.103. With boot2docker the VMs networking stack is not your local host but running on a virtual interface.

提交回复
热议问题