Sign inSign up

cloudcube/tomcat-with-maven

By cloudcube

•Updated about 9 years ago

docker for tomcat with maven

Image
0

427

cloudcube/tomcat-with-maven repository overview

Docker Tomcat with Maven

⁠说明

tomcat with maven的dockerfile文件

⁠使用

⁠Dockerfile 使用
FROM cloudcube/tomcat-with-maven

⁠启动参数设置
docker run \
	--name demo001 \
	-d -p 18080:8080 \
	-e "XMX=512m" \
	-e "XMS=256m" \
	-e "PERM_SIZE=128m" \
	-e "MAX_PERM_SIZE=512m" \
	-e "LOG_GC_FILE=/opt/tomcat/logs/gc.log"
	cloudcube/tomcat-with-maven

默认值设置

  • XMX 1024m
  • XMS 128m
  • PERM_SIZE
  • MAX_PERM_SIZE 64m
  • MAX_PERM_SIZE 256m
  • LOG_GC_FILE /opt/tomcat/logs/gc.log

Tag summary

Content type

Image

Digest

Size

338.3 MB

Last updated

about 9 years ago

docker pull cloudcube/tomcat-with-maven