Day 5: Build, Push & Deploy a Dockerized Flask App with Jenkins | Project-Based Approach

Опубликовано: 09 Май 2026
на канале: Cloud With VarJosh
1,761
79

Day 5: CI/CD Project 1 | Build, Push & Deploy a Dockerized Flask App with Jenkins
👉 GitHub Repository: https://github.com/CloudWithVarJosh/J...
👉 Jenkins Playlist:    • Jenkins: Basics To Production  

👉Join the Channel to show your support:    / @cloudwithvarjosh  

📚 Welcome to Day 5 of Jenkins: Basics to Production!
We’ll set up Docker-outside-of-Docker (DooD) so Jenkins can use the host Docker Engine, add credentials safely, and then build, push, and deploy a small Flask app end-to-end. You’ll learn how docker.sock fits in, how to keep secrets out of logs, how to tag images (:BUILD_NUMBER and :latest), and how to verify the app with a quick smoke test.

🛠 What You’ll Learn Today
DooD setup: mount docker.sock, install Docker CLI in Jenkins
Jenkins Credentials: GitHub PAT & Docker Hub (masked in logs)
Build a Dockerized Flask app and push to a private Docker Hub repo
Tagging strategy: reproducible :BUILD_NUMBER and convenience :latest
Deploy on the host via DooD and run a quick smoke test

Kubernetes:
👉 CKA 2025 Playlist:    • CKA Certification Course 2025  
👉 Kubernetes Projects:    • Kubernetes Projects  

⏰ Timestamps
00:00:00 — Introduction
00:00:37 — DooD Explained (Docker-outside-of-Docker)
00:09:23 — Demo: Set Up DooD in Jenkins (socket + CLI)
00:16:08 — Demo: Project Overview (build → push → deploy)
00:19:50 — Demo: Build, Push & Deploy Flask App with Jenkins
00:48:40 — Outro & Next Steps

🔖 Hashtags
#Jenkins #CloudWithVarJosh #CICD #DevOps #Docker #DockerHub #Flask #JenkinsCredentials #DooD #ContainerImages #PrivateRegistry