I installed the latest version of Jenkins using docker run. The command is as follows:
docker run
-d --name jenkins_254
-e JAVA_OPTS=“-Djenkins.security.csp.impl.DevelopmentHeaderDecider.DISABLED=true”
–privileged=true
-v /data/jenkins_254/jenkins_data:/var/jenkins_home
-v /etc/localtime:/etc/localtime
-v /etc/timezone:/etc/timezone
-p 8080:8080
-p 50000:50000
jenkins/jenkins:lts
However, upon entering the Jenkins page, I found that many HTML styles could not be displayed, including input boxes and selection boxes. Please help me. Thank you.
It’s not a network issue, I can access the Jenkins page. Look at my login page, there are no input fields, and when I log in, much of the CSS is missing
The browser didn’t report any errors either; I’m using Chrome.All button types are also blocked, such as ‘Login, Confirm, Install, etc.’I feel like it’s a CSP issue, but I set jenkins.security.csp.impl.DevelopmentHeaderDecider.DISABLED=true. Could it be that it didn’t take effect?