Building Custom Tools with Docker API & SDK
Almost everyone wants to run their application as a Docker container. While it is an unquestionably great idea, managing Docker containers running on independent servers can be challenging.
While there are different tools available to manage your containers, it can sometimes be overwhelming. You may end up paying for a tool does not even do something the way you want it. That’s a common problem we face these days.
The talk considers a custom built, simple and straightforward application, to demonstrate how we can build custom tools to solve our problems. The application is built on top Docker API and uses the Docker SDK for GO.
Consider the following scenario:
You have a medium-sized project, and are transitioning from traditional deployments to containerization with Docker. You have five servers running about ten application containers each. Managing and monitoring those containers on individual servers is going to be unpleasant. Since you are in transition, purchasing a tool that can manage and monitor containers for you is not an option.
So, how do we solve this problem? Well, we can build a custom tool using the Docker API and SDK.
DockerDoodle is an open source project that helps solving the above problem. The intent is not to promote DockerDoodle but yto use it is an example to demonstrate how we can build custom tools to solve our problems. The application is built on top Docker API and uses the Docker SDK for GO.
The Content Outline:
- Introduction to Docker
- The Docker Architecture
- Connecting to a Remote Docker Host (Demo)
- The Docker API & SDK
- Building Custom Tools - Why? & Where to start?
- The Problem I Noticed
- DockerDoodle Demo
- DockerDoodle Architecture
- Basic understanding of Docker and containers
I’m an experienced Software Engineer and my core competencies include Go, Docker, Kubernetes, DevOps Practices, and Agile Methodologies. I’m an active contributor and have participated in many developer community events and conferences to share my knowledge and experience.
My most recent talks include:
- Getting started with Docker, at C# Corner Annual Conference - Delhi, April 2019
- Using DockerDoodle to manage your containers, at DockerCon Recap - Pune, June 2019
I have been twice recognized as C# Corner Most Valuable Professional for my contributions. I am also a passionate blogger and have been awarded the Most Valuable Blogger title by DZone.
- DockerDoodle Documentation - https://gauravgahlot.github.io/dockerdoodle
- DockerDoodle GitHub Repo - https://github.com/gauravgahlot/dockerdoodle