$ docker-machine create -d virtualbox default
$ @FOR /f "tokens=*" %i IN ('docker-machine env --shell cmd default') DO @%i
docker pull jenkins
docker run --name myJenkins1 -p 8080:8080 -p 50000:50000 -v jenkins-data:/var/jenkins_home jenkins
http://192.168.99.100:8080
errors:
SEVERE: Failed to install Docker Pipeline java.io.IOException: Failed to dynamically deploy this plugin at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1893) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1651) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110) at java.lang.Thread.run(Thread.java:748) Caused by: java.io.IOException: Failed to install docker-workflow plugin at hudson.PluginManager.dynamicLoad(PluginManager.java:874) at hudson.PluginManager.dynamicLoad(PluginManager.java:813) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1889)
Caused by: java.io.IOException: Docker Pipeline v1.17 failed to load.
I cleared any cache previous jenkins docker system prune -a.
Then tried again and this has installed - Jenkins 2.138.2. Seems to have worked now. Maybe it was incompatible jenkins and plugins, or network issues.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.