---
title: "Discussion on \"How to Set Up Jenkins in Docker with Docker-in-Docker (DinD) on Ubuntu ?\" | Hashnode"
description: "Discussion on \"How to Set Up Jenkins in Docker with Docker-in-Docker (DinD) on Ubuntu ?\". Learn how to set up Jenkins with Docker-in-Docker (DinD) to build and run containers inside your CI/CD pipelines - Beginner-friendly tutorial."
url: "https://hashnode.com/posts/how-to-set-up-jenkins-in-docker-with-docker-in-docker-dind-on-ubuntu/6855f8a966069e5ddcaa5be7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Set Up Jenkins in Docker with Docker-in-Docker (DinD) on Ubuntu ?](https://ariefshaik.hashnode.dev/how-to-set-up-jenkins-in-docker-with-docker-in-docker-dind-on-ubuntu?utm_source=hashnode&utm_medium=feed)

Learn how to set up Jenkins with Docker-in-Docker (DinD) to build and run containers inside your CI/CD pipelines - Beginner-friendly tutorial.

Jun 21, 2025 · 6 min read · ariefshaik.hashnode.dev  
Updated Jun 28, 2025  
Read the article

-   [#jenkins](https://hashnode.com/tag/jenkins)
-   [#docker](https://hashnode.com/tag/docker)
-   [#dockerfile](https://hashnode.com/tag/dockerfile)
-   [#docker-network](https://hashnode.com/tag/docker-network)
-   [#cicd](https://hashnode.com/tag/cicd)
-   [#jenkins-on-ubuntu](https://hashnode.com/tag/jenkins-on-ubuntu)
-   [#jenkins-installation](https://hashnode.com/tag/jenkins-installation)
-   [#jenkins-devops](https://hashnode.com/tag/jenkins-devops)
-   [#linux](https://hashnode.com/tag/linux)
-   [#linux-for-beginners](https://hashnode.com/tag/linux-for-beginners)

## Written by

[Arief Shaik](https://hashnode.com/@ariefshaik)

@ariefshaik

  
[View profile](https://hashnode.com/@ariefshaik)

I am a DevOps Engineer focused on building resilient, self-healing infrastructure and eliminating manual toil through automation. My approach moves beyond simple "click-ops" to architecting production-grade platforms using Infrastructure as Code (IaC) and GitOps principles. I distinguish myself by understanding the systems "under the hood." I have provisioned High-Availability Kubernetes clusters on bare metal using kubeadm, integrating MetalLB, HAProxy, and OpenEBS to simulate true production environments. I believe that to effectively manage the cloud, one must first master the underlying Linux and networking internals. Core Technical Competencies: Orchestration: Kubernetes (building clusters, Helm charts, Ingress), Docker, and Argo CD. Infrastructure as Code: Provisioning scalable resources on GCP and AWS using Terraform and Ansible. CI/CD Automation: Designing end-to-end pipelines with GitHub Actions and Jenkins for containerized applications. Security &amp; Observability: Implementing Secret Management (HashiCorp Vault) and monitoring stacks (Prometheus, Grafana, Loki). I actively document my engineering challenges and technical deep-dives on my blog: https://ariefshaik.hashnode.dev/.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
