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
标签:dubbo,http,tomcat,admin,18080,docker 来源: https://www.cnblogs.com/a393060727/p/12219705.html