Running Jenkins in Docker
Administering Jenkins can be a fair amount of work, but you can leverage containers to make it all much, much easier. This course will teach you how to make your Jenkins administration pain-free.
What you'll learn
Jenkins is one of the premier build servers, and Docker is the new frontier for application development and delivery. In this course, Running Jenkins in Docker, you’ll learn to leverage container technologies to solve Jenkins problems. First, you’ll explore how to run Jenkins install-free as a container, and make that container totally portable. Next, you’ll discover how to dynamically scale your build agents with containerized agents that can build your software. Finally, you’ll learn how to leverage platform emulation to build for hardware architectures you don’t have hardware for. When you’re finished with this course, you’ll have the skills and knowledge of making Jenkins work with containers needed to make your Jenkins administration pain-free.
Table of contents
- Introduction 1m
- Docker and Kernel 1m
- Demo: A Linux Container Running on Windows 10 1m
- What Is a Kernel? 2m
- Why This Matters: Running Linux Containers on Windows 4m
- The Vision and the Why: Jenkins on Docker 3m
- Demo: The Basics of Running Jenkins in a Container 7m
- Maintaining State Outside the Container 2m
- The Docker File System 2m
- Understanding Copy on Write 2m
- Demo: Mounting a Volume to Your Container 5m
- Wrapping up Jenkins State 1m
- Summary 1m
- Introduction 0m
- Demo: Provisioning Containerized Agents 6m
- What’s Going on Here with Cloud Agents? 2m
- Understanding Docker Images and Trust 3m
- Demo: Creating a DotNetCore Agent with a New Dockerfile 4m
- Demo: Attaching Your DotNetCore Agent to Your Cloud 7m
- Wrapping up with Your DotNetCore Agent 4m
- Demo: Creating a Docker Image Meta-build 7m
- Considering the Meta-build 2m
- Understanding Container Connect Methods 3m
- Working with Private Registries 2m
- Demo: Authenticating to a Custom Registry URL 5m
- Installing Dependencies Dynamically 5m
- Working with Ephemeral Agents 1m
- Demo: Working with Artifacts on Ephemeral Build Agents 4m
- More Specific Jenkins Images 2m
- Summary 1m
- Understanding Multi-architecture 4m
- Demo: Multi-architecture Negotiation in Docker 3m
- How BuildX Builds for Platforms You Don’t Have 3m
- Demo: Building Your Docker Images for Multi-architecture 5m
- Build with BuildKit 1m
- Demo: Building Multi-architecture Images in Your Jenkins-Docker Container 2m
- Making This Work in Jenkins 1m
- Demo: Making This Work in Jenkins 3m
- Wrap Up 3m
- Summary 1m