collection.dockerfile/centos8/jenkins/start.sh

6 lines
226 B
Bash
Raw Normal View History

2022-01-17 15:56:05 +08:00
docker run --name jenkins2 --cpus 2 \
--net macvlan --ip 192.168.86.55 -d --restart=always \
-v /my/container-config/centos8/jenkins/jenkins-home:/root/.jenkins \
-v /var/run/docker.sock:/var/run/docker.sock \
centos8-jenkins