mirror of
https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network.git
synced 2025-06-03 03:47:55 +08:00
【fix】 cgroup2fs环境
This commit is contained in:
parent
c9b866885a
commit
06869dcd2f
@ -6,7 +6,7 @@ RUN echo "Asia/Shanghai" > /etc/timezone
|
||||
|
||||
|
||||
ENV APP_JAR_NAME=$APP_NAME \
|
||||
JAVA_OPTS="-Xms512m -Xmx1024m -XX:+UseContainerSupport -XX:InitialRAMPercentage=50.0 -XX:MaxRAMPercentage=80.0 -Djava.security.egd=file:/dev/./urandom" \
|
||||
JAVA_OPTS="-Xms512m -Xmx1024m -XX:+UseContainerSupport -XX:InitialRAMPercentage=50.0 -XX:MaxRAMPercentage=80.0 -Djdk.management.jfr.VmFlagRepository.useCgroups=false -Djava.security.egd=file:/dev/./urandom" \
|
||||
PARAMS=""
|
||||
|
||||
#UseContainerSupport:启用容器感知内存和 CPU 限制。
|
||||
|
Loading…
x
Reference in New Issue
Block a user