dragonwell-project / dragonwell8

Alibaba Dragonwell8 JDK
http://dragonwell-jdk.io
GNU General Public License v2.0
4.21k stars 497 forks source link

【docker容器】java/nio/file/Files/probeContentType/Basic.java在容器内失败 #470

Open sendaoYan opened 1 year ago

sendaoYan commented 1 year ago

Steps to Reproduce Steps to reproduce the behavior:

docker run --pids-limit -1 --network host --privileged -h docker -w /root/tone/run -v /etc/group:/etc/group:ro -v /etc/passwd:/etc/passwd:ro -v /etc/shadow:/etc/shadow:ro --rm -it -v /root/tone:/root/tone --name jtreg anolis-registry.cn-zhangjiakou.cr.aliyuncs.com/openanolis/dragonwell:8-standard-ga-8.6 bash
jtreg java/nio/file/Files/probeContentType/Basic.java

image

Execution environment

image