GithubHelp home page GithubHelp logo

hugfil / install-jenkins-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vdespa/install-jenkins-docker

0.0 0.0 0.0 2 KB

Docker compose configuration for a quick installation of Jenkins

Dockerfile 100.00%

install-jenkins-docker's Introduction

Install Jenkins using Docker Compose

This repository contains a Docker Compose configuration for a quick installation of Jenkins. This setup is not intended for production systems.

Credits: This approach is mostly based on the offical instructions but takes advantage of Docker Dompose (by using a docker-compose.yml file) to reduce the number of steps needed to get Jenkins up and running.

Docker Installation

Step 1

Install Docker locally (probably using Docker Desktop is the easiest approach).

Step 2

Clone this repository or download it's contents.

Step 2

Open a terminal window in the same directory where the Dockerfile from this repository is located. Build the Jenkins Docker image:

docker build -t my-jenkins .

Step 3

Start Jenkins:

docker compose up -d

Step 4

Open Jenkins by going to: http://localhost:8080/ and finish the installation process.

Step 5

If you wish to stop Jenkins and get back to it later, run:

docker compose down

If you wish to start Jenkins again later, just run the same comand from Step 3.

Removing Jenkins

Once you are done playing with Jenkins maybe it is time to clean things up.

Run the following comand to terminate Jenkins and to remove all volumes and images used:

docker compose down --volumes --rmi all 

install-jenkins-docker's People

Contributors

vdespa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.