4.34 out of 5
4.34
84 reviews on Udemy

Get into DevOps: Best Practices for Docker with Jenkins

Learn to build a fully automated Continuous Integration pipeline for your application using Docker and Jenkins.
Instructor:
Miiro Juuso
857 students enrolled
English [Auto-generated]
You will learn how to create a fully automated Continuous Integration pipeline
You will learn how to build Docker images in Jenkins pipelines
You will understand the best practices for using Docker with Jenkins
You will learn how to build a Dockerfile and a Jenkinsfile for your application
You will learn how to create Pipelines as Code with Jenkins
You will learn gotchas, tips and solutions for common problems

From the author of Get into DevOps, the learning blog trusted by over 18,000 DevOps professionals every month:

Learn how to build a Continuous Integration pipeline for your application. Welcome to Best Practices for Docker with Jenkins.

This course is your turn-key solution to using Docker with Jenkins. Through practical demos and tutorials, you will learn how to build Dockerfiles and Jenkinsfiles, and how to configure Jenkins to build Docker images automatically with a Continuous Integration pipeline.

If you haven’t used Docker or Jenkins before, don’t worry – we will cover the fundamentals of both of them from the ground up, so you don’t need prior knowledge on either. This course will also teach you more advanced topics like how to use Docker to simplify Jenkins dependency management while building more traditional software artefacts like JAR files.

Throughout the years I have had to learn many quirks and gotchas of Docker and Jenkins through trial and error. I’ve collected my knowledge on this course so you don’t have to.

Did you know that DevOps is one of the most sought-after set of skills in the job market right now, with tens of thousands of open roles globally. According to PayScale, the median DevOps salary in the U.S. is $90,361 per year. The best DevOps specialists on the market can name their price, and often earn more than $200,000 in a year. The best time to start learning DevOps was 5 years ago – the second best time is now!

Join thousands of satisfied students, and enroll now!

Introduction

1
What you will learn on this course

Learn the objectives and outline of this course.

2
Requirements for this course

Learn the required user accounts and installed software to complete the assignments and tutorials on this course.

3
Using the terminal

Learn how to use the terminal, where most of the tutorials on this course are completed.

4
Using the code examples

Learn where to find the code examples for this course. As a student, you are free to use all code examples in your own work or hobby projects.

Understanding Docker

1
Introduction to Docker

After this lesson, you will understand the fundamentals of Docker.

2
Images & Containers

After this lesson, you will know the differences and key features of Docker images and containers.

3
Dockerfile

After this lesson, you will understand the basic structure and purpose of a Dockerfile.

4
Networking

After this lesson, you will know the differences between Docker networking types.

5
Bind Mounts and Volumes

After this lesson, you will understand how to preserve data inside a Docker container, using Bind Mounts and Docker Volumes.

6
Docker Registries

After this lesson, you will understand what Docker Registries are used for.

7
Docker Compose and Composefiles

After this lesson, you will know the purpose of Docker Compose and Composefiles.

8
Installing Docker

This lesson includes links to installation instructions for Docker on different platforms.

9
Docker Quiz
10
Run a Docker image on the command line

Understanding Jenkins

1
Introduction to Jenkins

After this lesson, you will understand the fundamentals of Jenkins.

2
Jenkins components

After this lesson, you will know the key components of a Jenkins setup.

3
Job types

After this lesson, you will understand the differences between Jenkins job types.

4
Jenkinsfile

After this lesson, you will understand the purpose of a Jenkinsfile.

5
Plugins

After this lesson, you will know basics of how the Jenkins plugin system works.

6
Credentials

After this lesson, you will understand where secrets should be stored in Jenkins pipelines.

7
Jenkins Blue Ocean

After this lesson, you will understand what Jenkins Blue Ocean is.

8
Tutorial: Installing and running Jenkins locally using Docker

After this lesson, you will be able to run Jenkins on your workstation as a Docker container.

9
Tutorial: Installing and running Jenkins on a server

After this lesson, you will know how to install Jenkins on an Ubuntu server.

10
Tutorial: Configuring Jenkins to support Docker

After this lesson, you will be able to configure Jenkins to support building Docker images.

11
Jenkins Quiz
12
Create a Jenkins job

Building Docker images with Jenkins

1
Introduction to building Docker images with Jenkins

This lesson will outline the Continuous Integration pipeline we will be building.

2
Preparing a code repository

After this lesson, you will know how to create a Git repository in GitHub, and prepare it for building a Continuous Integration pipeline.

3
How to write a Dockerfile

After this lesson, you will know how to build a Dockerfile.

4
How to write a Jenkinsfile

After this lesson, you will know how to build a Jenkinsfile.

5
How to create a Jenkins job and build your first Docker image

After this lesson, you will know how to create a Jenkins Pipeline job, hook it into our Jenkinsfile, and set it up to trigger automatically on repository changes. You will also learn how to add a new stage in our Continuous Integration pipeline.

Best Practices

1
Introduction to Best Practices

This lesson outlines the purpose of the Best Practices section.

2
Keeping Jenkins secure

After this lesson, you will understand why and how to secure Jenkins.

3
Using Docker to manage build dependencies on Jenkins

After this lesson, you will understand how Docker can be used to manage Jenkins build dependencies for all projects - not just projects where Docker images are being built.

4
Managing user permissions inside containers

After this lesson, you will understand what are the best practices for managing user permissions inside Docker containers with Jenkins.

5
Building and tagging feature branches

After this lesson, you will understand how to build, test and tag feature branches.

6
Using a custom Docker registry like AWS ECR

After this lesson, you will understand how to use different Docker Registries.

7
Reporting pipeline status on Slack

After this lesson, you will know how to create a Slack webhook to post automatic notifications on pipeline failure.

8
Cleaning up after Docker

After this lesson, you will know how to create a cleanup job to keep Jenkins from running out of disk space when building Docker images.

Afterword & next steps

1
Recap on learning
2
Further resources

This lesson has links to additional documentation.

3
Bonus Lecture: Discount codes for other courses

This lesson has discount codes for some of my other courses.

You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.3
4.3 out of 5
84 Ratings

Detailed Rating

Stars 5
34
Stars 4
33
Stars 3
13
Stars 2
2
Stars 1
2
9f34242c34242d08646b90bd881c839f
30-Day Money-Back Guarantee

Includes

2 hours on-demand video
6 articles
Full lifetime access
Access on mobile and TV
Certificate of Completion