Public | Automated Build

Last pushed: a month ago
Short Description
Short description is empty for this repo.
Full Description

Jenkins

Run

docker run -p 8080:8080 -p 50000:50000 -v /vol/jenkins:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock --rm --name jenkins ghmlee/jenkins:latest

Systemd

- name: jenkins.service
  command: start
  content: |
    [Unit]
    Description=jenkins.service
    Requires=registry.service
    After=registry.service
    [Service]
    TimeoutStartSec=0
    Restart=always
    ExecStartPre=/usr/bin/chmod 0777 /vol/jenkins
    ExecStartPre=-/usr/bin/docker kill jenkins
    ExecStartPre=-/usr/bin/docker rm jenkins
    ExecStartPre=/usr/bin/docker pull ghmlee/jenkins:latest
    ExecStart=/usr/bin/docker run -p 8080:8080 -p 50000:50000 -v /vol/jenkins:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock  --rm --name jenkins ghmlee/jenkins:latest
    [Install]
    WantedBy=multi-user.target
Docker Pull Command
Owner
ghmlee
Source Repository