你的位置:首页 > 信息动态 > 新闻中心
信息动态
联系我们

docker运行springboot jar

2021/12/16 16:24:57
/usr/bin/docker run --name genie --privileged --net=host --restart on-failure \
	-v /ceph/springconfig:/springconfig -v /etc/localtime:/etc/localtime \
	-v /ceph/executive:/executive \
	-v /ceph/images:/images \
	-v /certificates:/certificates \
	-d docker.io/openjdk:11.0.3 /bin/bash \
	-c "java -Xms256m -Xmx2048m -jar -Djava.security.auth.login.config=/springconfig/.client-jaas \
	 -jar -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:18078  -Dspring.profiles.include=swagger -Djasypt.encryptor.password=youtellme -Duser.timezone=$TIMEZONE /executive/jars/xxx.jar