docker安装tomcat dubbo-admin实例技巧
1、下载tomcat 镜像
docker pull tomcat:8.5.29
2、验证镜像
docker images
3、安装tomcat
默认tomcat端口是8080的http端口映射出来,并且将相应的文件挂载到宿主机中。
docker run --name dubbo-admin -p 18080:8080 -v /root/dubbo-admin/tomcat-users.xml:/usr/local/tomcat/conf/tomcat-users.xml -v /root/dubbo-admin/log:/usr/local/tomcat/logs tomcat:8.5.29
4、验证tomcat
访问:http://ip:对外接口18080
http://192.168.5.180:18080
相关推荐
王道革 2020-11-25
bwyyziq 2020-11-22
pigsmall 2020-11-19
changecan 2020-11-19
helloWorldAndYou 2020-11-16
nginxs 2020-11-14
红石丶 2020-11-13
WanKaShing 2020-11-12
yangkang 2020-11-12
滴水穿石点石成金 2020-11-12
张荣珍 2020-11-12
wuxunanjing 2020-11-11
魅惑青花瓷 2020-11-11
lihongtai 2020-11-09
yangkang 2020-11-09
worldsnow 2020-11-06
MichaelJScofield 2020-11-06
TaoTaoFu 2020-11-06