π³ Understanding Docker Networking, Bridge vs Host vs Overlay & Secure containers

π Hello! I'm passionate about DevOps and have over 1+ years of experience in the field. I'm proficient in a variety of cutting-edge technologies and always motivated to expand my knowledge and skills. Let's connect and grow together!
SKILLS:
πΉ Languages & Runtimes: Python, Shell Scripting, HCL, YAML πΉ Cloud Technologies: AWS, Microsoft Azure, GCP πΉ Infrastructure Tools: Docker, Terraform, AWS CloudFormation πΉ Other Tools: Linux, Git and GitHub Actions, Jenkins, Jira, GitLab (beginner), Docker, AWS DevOps πΉ Web Development: HTML, CSS, Bootstrap, Python, SQL
Job & Responsibilities:
π Improved development efficiency by implementing CI/CD pipelines, resulting in a 30% reduction in deployment time on the test server. π Strengthened deployment and testing reliability by utilizing Docker containers and optimizing Dockerfile, reducing development issues on the test server by 20%. βοΈ Automated S3 bucket log creation with Shell scripting, eliminating 100% of manual search and saving 2 hours per week. π Scheduled EC2 instance start/stop using Lambda functions and Event Bridge, leading to a 25% decrease in infrastructure costs. π§ Utilized AWS, Linux, Python, Docker, Shell scripting, Terraform, Jenkins Pipelines, and automation to streamline workflows and improve overall system performance.
I'm very detail-oriented and possess strong written and verbal communication skills. As a high performer with a possibility mindset, I strive to solve problems using efficient approaches.
Let's Connect & Grow:
If you find my profile suitable for the role you are searching for, please feel free to reach out to me at sumanprasad9766@gmail.com.
π Introduction:
If you're interested in working with containers and container orchestration tools like Kubernetes and Docker Swarm, it's important to understand networking in Docker. Docker networking is a critical component that allows containers to communicate with each other and with other resources on a network.
In this blog post, we'll explore the basics of Docker networking and cover some key concepts that you'll need to know to work effectively with containers and container orchestration tools.
πΉ Why do you need networking on Docker? π€
Docker networking is essential for allowing containers to communicate with each other and with other resources on a network. For example, if you have multiple containers running on the same host, they need to be able to communicate with each other to function properly.
πΉ How does Docker Networking Work? π οΈ
Docker networking works by creating a virtual network that allows containers to communicate with each other and with other resources on a network. Each container is assigned an IP address within the virtual network, and Docker provides a range of networking options to allow containers to communicate with each other and with other resources on the network.
πΉ What are the different types of Networking in Docker? π
Docker provides several different types of networking options, including bridge networks, host networks, overlay networks, and macvlan networks.
β Example of creating a bridge network:
docker network create --driver bridge my-network
πΉ Which Networking is default and Out of the Box? π
Bridge networks are the default networking option in Docker and are included out of the box. They are the most commonly used networking option in Docker and provide a private network that is isolated from the host system and other networks.
πΉ Play with Docker containers and inspect their Networks π
To get a better understanding of Docker networking, it's useful to experiment with containers and inspect their networks. Docker provides a range of commands that allow you to create and manage containers, as well as inspect their networks.
β Example of listing available networks in Docker:
docker network ls
πΉ Create a custom bridge network to secure it from other containers π
If you need to create a custom network in Docker, you can use the "docker network create" command to create a new network. This can be useful if you need to secure a network and prevent other containers from accessing it.
β Example of creating a custom bridge network:
docker network create --driver bridge my-secure-network
π Conclusion:
In conclusion, understanding Docker networking is essential if you want to work effectively with containers and container orchestration tools like Kubernetes and Docker Swarm. By exploring the basics of Docker networking and experimenting with containers, you can gain a better understanding of how networking works in Docker and how to use it effectively in your container deployments.
π Resources:
I invite you to check my portfolio in case you are interested in contacting me for a project!. Prasad Suman Mohan
π΅ Don't forget to follow me also on LinkedIn: https://www.linkedin.com/in/prasad-suman-mohan




