可以去Jenkins官网DockerHub的GitHub仓库,拷贝最新的部署脚本:
docker run -p 8888:8080 -p 55551:50000 --restart=on-failure -v /Users/xiniuyiliao/jenkins:/var/jenkins_home jenkins/jenkins:lts-jdk11
标签:部署,DockerHub,jenkins,var,Jenkins,docker
From: https://www.cnblogs.com/JaxYoun/p/17203319.html