Sign inSign up

jkaninda/jenkins

By jkaninda

Updated over 2 years ago

Jenkins with docker client

Image
Integration & delivery
Developer tools
0

1.2K

jkaninda/jenkins repository overview

jenkins

Jenkins with docker client

Build Docker Image Size (latest by date) Docker Pulls

Tools:

  • docker client
  • helm
  • kustomize
  • jq
  • k6

Docker compose file :

version: '3.7'
services:
  jenkins:
    image: jkaninda/jenkins:lts
    container_name: jenkins
    user: root
    ports:
      - 8080:8080
      - 50000:50000
    volumes:
      - ./data:/var/jenkins_home
      - /var/run/docker.sock:/var/run/docker.sock

Run

docker compose up -d
version: '3.7'
services:
  jenkins:
    image: jkaninda/jenkins:lts
    user: root
    ports:
      - 8080:8080
      - 50000:50000
    volumes:
      - data:/var/jenkins_home
      - /var/run/docker.sock:/var/run/docker.sock
    deploy:
      mode: replicated
      replicas: 1
      restart_policy:
         condition: on-failure
      placement:
        constraints: 
          - node.role == manager
    healthcheck:
      test: ["CMD-SHELL", "curl -sS http://localhost:8080/login || exit 1"]
      interval: 30s
      timeout: 10s
      retries: 5
volumes:
  data:

Tag summary

Content type

Image

Digest

sha256:967e10c5b

Size

617.2 MB

Last updated

over 2 years ago

docker pull jkaninda/jenkins