Docker-Jenkins-LTS-2.107.2

Clone Project

git clone https://github.com/vandocouto/Docker-Jenkins-LTS-2.107.2.git
cd Docker-Jenkins-LTS-2.107.2.git

Build Image

Step 1 – ajust user and password

  • Open file security.groovy
vim build/security.groovy
  • modify def user / def pass
	def user = "admin"
	def pass = "jenkins"

Step 2 – Build imagem

docker build -f build/Dockerfile -t jenkins:1.0.0 .

Step 3 – Create volume jenkins

docker volume create --name=jenkins

Step 4 – Stack deploy

docker-compose up -d

Access Jenkins Web

Step 5 – Access URL

http://IP:8080
Docker-Jenkins-LTS-2.107.2
Tagged on:     

Deixe uma resposta

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

%d blogueiros gostam disto: