下载镜像
docker pull tomcat:8
启动
docker run -d -p 8080:8080 -v /data/tomcat/webapps/:/usr/local/tomcat/webapps/ -v /data/tomcat/logs/:/usr/local/tomcat/logs/ -v /data/tomcat/conf/:/usr/local/tomcat/conf/ tomcat:8
2024-01-21 16:13:16
下载镜像
docker pull tomcat:8
启动
docker run -d -p 8080:8080 -v /data/tomcat/webapps/:/usr/local/tomcat/webapps/ -v /data/tomcat/logs/:/usr/local/tomcat/logs/ -v /data/tomcat/conf/:/usr/local/tomcat/conf/ tomcat:8