How to Create Docker Custom Network Tutorial | Connect Container with Static IP

Опубликовано: 30 Апрель 2026
на канале: Harish N Shetty
198
4

🌐 In this video, I’ll explain how to *create a custom Docker network* and connect containers like *Jenkins* using a **static IP**. This is a must-know skill for setting up containerized environments with proper communication between services.

🧱 What you’ll learn:
How Docker networking works
Creating a custom bridge network with a subnet and gateway
Assigning static IP to a Jenkins container
Listing and managing Docker networks

📌 Commands used:
```bash
docker network create --subnet=10.25.8.0/24 --gateway=10.25.8.1 jenkins-network
docker network list

docker run -d \
--net jenkins-network \
--ip 10.25.8.10 \
-p 8080:8080 \
--name jenkins-master1 \
jenkins/jenkins:lts-jdk17

🛠️ Tools Used: Docker, Jenkins, Custom Network

✅ Perfect for DevOps learners, CI/CD setups, and anyone working with Docker in production.

👇 Let’s connect:
🌐 Website: https://harishnshetty.github.io/resume/
💼 LinkedIn:   / harishnshetty  

👍 Like the video? Make sure to LIKE, SHARE, and SUBSCRIBE for more hands-on DevOps tutorials!

#DockerNetwork #DockerStaticIP #JenkinsDocker #DockerTutorial #DevOps #DockerCustomNetwork #DockerBridge #DockerForBeginners #HarishNShetty #JenkinsMaster

docker network,docker custom network,docker jenkins static ip,docker container connect,docker bridge network,jenkins in docker,custom docker network,jenkins master docker,docker network create,docker subnet example,docker tutorial,harishnshetty,devops