#docker run -u root -p 8080:8080 -p 50000:50000 -v /home/jenkins:/var/jenkins_home jenkins 65cd9915952bbd5885dd9a9a1477e9ce5d46d1f6c952b90a71235539e4e41e0f docker: Error response from daemon: failed to create endpoint confident_mclean on network bridge: adding interface veth8eeee09 to bridge docker0 failed: could not find bridge docker0: route ip+net: no such network interface. # pkill docker # iptables -t nat -F # ifconfig docker0 down # brctl delbr docker bridge docker doesn‘t exist; can‘t delete it # brctl delbr docker0 # systemctl start docker # docker images REPOSITORY TAG IMAGE ID CREATED SIZE jenkins latest cd14cecfdb3a 6 months ago 696MB # docker ps -a # docker run -u root -p 8080:8080 -p 50000:50000 --name jenkins --privileged=true -v /home/jenkins:/var/jenkins_home jenkins这样就正常了! Running from: /usr/share/jenkins/jenkins.war webroot: EnvVars.masterEnvVars.get("JENKINS_HOME") Jan 17, 2019 9:10:06 AM Main deleteWinstoneTempContents WARNING: Failed to delete the temporary Winstone file /tmp/winstone/jenkins.war Jan 17, 2019 9:10:06 AM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Logging initialized @550ms Jan 17, 2019 9:10:06 AM winstone.Logger logInternal INFO: Beginning extraction from war file Jan 17, 2019 9:10:07 AM org.eclipse.jetty.util.log.JavaUtilLog warn WARNING: Empty contextPath Jan 17, 2019 9:10:08 AM org.eclipse.jetty.util.log.JavaUtilLog info INFO: jetty-9.2.z-SNAPSHOT
原文地址:https://www.cnblogs.com/yaun1498078591/p/10283639.html
时间: 2024-10-16 13:51:08