Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Building custom tools with Docker API & SDK

89 views

Published on

Building custom tools with Docker API & SDK

Published in: Engineering
  • Be the first to comment

  • Be the first to like this

Building custom tools with Docker API & SDK

  1. 1. Building Custom Tools with Docker API & SDK PyCon India 2019, Chennai
  2. 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
  3. 3. Hi, I’m Gaurav Gahlot. Blogger - QuickDevNotes YouTube Speaker C# Corner MVP DZone MVB
  4. 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
  5. 5. Docker Architecture
  6. 6. Connecting to a Remote Host Docker daemon listens via: - unix (default) - tcp - fd Remote Connection: - tcp://0.0.0.0:2375 (http) - tcp://0.0.0.0:2376 (https) Demo - Configure Docker Daemon
  7. 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. 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. 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. 10. DockerDoodle A web application Monitor and manage containers Operations: – count – stats – start – stop – remove
  11. 11. DockerDoodle - Demo Setup Docker Hosts Application configuration Managing containers
  12. 12. DockerDoodle - Architecture tcp//:2375 tcp//:2375 tcp//:2375 x WS
  13. 13. Thank you! Any Questions?
  14. 14. Stay Connected! Blog - Quick Dev Notes (https://quickdevnotes.com) GitHub - @gauravgahlot Twitter - @_gauravgahlot

×