SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.
SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.
Successfully reported this slideshow.
Activate your 30 day free trial to unlock unlimited reading.
1.
Building Custom Tools
with
Docker API & SDK
PyCon India 2019, Chennai
2.
Agenda
What is Docker?
Docker Architecture
Connecting to a Remote Host
The Docker API & SDK
Building Custom Tools
The Problem I Noticed
DockerDoodle
DockerDoodle – Architecture
Q&A
4.
What is Docker?
Docker is:
- Docker, Inc. – the company
- the container runtime
- the open source project (now called Moby)
Docker helps in:
- multitenancy
- rapid deployment
- app isolation
7.
The Docker API and SDK
The Docker API
- an API to interact with Docker Engine API
- Daemon and client API mismatches
- how to find the right version?
Docker SDK:
- Python
- Go
8.
Building Custom Tools
Why?
- no tool available
- high costs for available tools
- custom tool serves better
Where to start?
- understand the problem
- pick a solution to start with
- select the right tech stack
9.
The Problem I Noticed
The N x M container matrix
- N: the number of servers
- M: the number of containers per server
The Challenges?
- container management & monitoring
- time consuming
- slow deployments
- error prone
10.
DockerDoodle
A web application
Monitor and manage containers
Operations:
– count
– stats
– start
– stop
– remove