1.搜索tomcat信息docker search tomcat2.下拉tomcat 镜像docker pull tomcat3.运行tomcatdocker run -d --name=tomcat --restart=always -v /home/webapps:/usr/local/tomcat/webapps -p 8080:8080 tomcat