/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
docker运行springboot jar
最新推荐文章于 2023-04-25 10:50:51 发布