cd /data/docker-data/jenkins mkdir jenkins_home chmod 777 jenkins_home docker run -d -p 10240:8080 -p 10241:50000 -v $PWD/jenkins_home:/var/jenkins_home -v /etc/localtime:/etc/localtime --name jenkins jenkinszh/jenkins-zh # 安装插件 Gitlab Hook Plugin Gitlab Plugin
原文:https://www.cnblogs.com/root0/p/14697450.html