Member-only story

Run Jenkins in a Docker container — part 3 — run as root user

Guide for developers to get up and running with Jenkins running in Docker (on Windows).

David Sugden
6 min readOct 13, 2020

--

This small series of guides will walk through three solutions for installing Jenkins in a Docker container on Windows, along with the configuration necessary to spin up dynamic build slaves also using Docker containers.

Running locally on a personal device is perfect for individual users, freelancers, or developers looking to do local Jenkinsfile or Shared Library development and testing before pushing to a central CI/CD platform.

“You said three solutions?” Yes — this article demonstrates running the Jenkins container as root user instead of jenkins user. Part 1 was using Docker-in-Docker and Part 2 was to replace with a socat container. Read both of those articles below or scroll to continue with the final article in the series.

--

--

David Sugden
David Sugden

No responses yet