Run Jenkins controller and agent with Go environment in Docker Compose

  1. The first step is installing docker and docker-compose on your host machine. As this is distro and OS-specific, a quick Google search should help.
  2. Once you have both available, create 2 directories which will hold Jenkins data on your host and serve as Docker volumes: mkdir -p ~/{jenkins,jnlp_agent}
  3. Start a Jenkins container in Docker:
Setting up a Node configuration
Setting up the Node configuration
Getting the ‘secret’ key

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

BeakerX and Python for Data Visualization

📢 Holdex Chain Testnet is coming!

This is a test blog

How to choose the right container orchestration and how to deploy it

Attracting People to Work For You

Starname Partners With Aleph.im: Crosschain Database Meets Crosschain Name Service

Particle Network Secures 1.8M USD to Build Web3.0 Mobile App Data and Development Platform

Laravel Authorization Policies — Part 2

Laravel Authorization Policies - Part 2

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ben Pinter

Ben Pinter

More from Medium

How To Setup Nginx Reverse Proxy Server On Ubuntu 20.04

Collect http status Nginx — Prometheus (Docker)

Deploy to Kubernetes in 5 minutes with Docker Compose and Okteto Cloud

Secure application using Nginx Auth and Docker