jenkins in docker start scripts
This commit is contained in:
parent
b266f18682
commit
27ba280cb5
1
templates/start.1.sh
Normal file
1
templates/start.1.sh
Normal file
@ -0,0 +1 @@
|
|||||||
|
docker container run --name jenkins-docker --detach --privileged --network jenkins --network-alias docker --env DOCKER_TLS_CERTDIR=/certs --volume jenkins-docker-certs:/certs/client --volume jenkins-data:/var/jenkins_home --publish 2376:2376 docker:dind
|
1
templates/start.2.sh
Normal file
1
templates/start.2.sh
Normal file
@ -0,0 +1 @@
|
|||||||
|
docker container run --name jenkins-blueocean --detach --network jenkins --env DOCKER_HOST=tcp://docker:2376 --env DOCKER_CERT_PATH=/certs/client --env DOCKER_TLS_VERIFY=1 --publish 8080:8080 --publish 50000:50000 --volume jenkins-data:/var/jenkins_home --volume jenkins-docker-certs:/certs/client:ro jenkinsci/blueocean
|
Loading…
Reference in New Issue
Block a user