Jenkins Pipelines CD and a Dockerized App

Length: 00:10:48

Lesson Summary:

So far, you have learned how to implement a deployment of an app directly to a server using a Jenkine Pipeline. Now that you have learned how to dockerize the app, it is time to dockerize the CD process as well.
This lesson will discuss one way we can configure a Jenkins pipeline to deploy a dockerized app as a contained. This lesson demonstrates how to build a Jenkins pipeline that builds the app as a Docker image, puhes the image to a registry, pulls the image to the production server, and deploys the app as a container on the production server.
After completing this lesson, you will be able to apply the concepts of Jenkins pipeline automation to a dockerized app.


You can find the source code of the train-schedule app here: https://github.com/linuxacademy/cicd-pipeline-train-schedule-dockerdeploy


And you can find the final version of the Jenkinsfile from the demo on the example-solution branch of that project here: https://github.com/linuxacademy/cicd-pipeline-train-schedule-dockerdeploy/blob/example-solution/Jenkinsfile


This lesson is only available to Linux Academy members.

Sign Up To View This Lesson
Or Log In

Looking For Team Training?

Learn More