1、docker pull jenkins/jenkins
2、
docker run --name jenkins -itd -p 8080:8080 -p 50000:50000 --restart always --privileged=true --user root --env JAVA_OPTS="-Xmx8192m" -v $(pwd)/jenkins_data:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock -v /bin/docker:/bin/docker jenkins/jenkins:lts
标签:50000,run,--,var,jenkins,docker,安装 From: https://www.cnblogs.com/heipidaren/p/16753865.html