~/talk

Extend Docker using Python

Talkat PyCon Israel 2017 · 2017-06-11..06-13· [devops-and-delivery, python]
links:none on file
slides:none on file

Explains how to extend Docker by calling the Docker REST API with requests or by using the official docker SDK (python) (pip install docker). Shows concrete code: list images, wrap image objects, pretty-print sizes/dates, and implement a garbage-collector that scores images by age and dangling status and deletes by ID. Describes extension alternatives (custom runC, containerd, or plugins: volume/network/auth/logging) and using docker events to auto-log or add containers to a load balancer.

AI-written summary · about

  1. 0:00Introduction
  2. 7:01Docker Image API
  3. 10:11Garbage Collector
  4. 13:48Docker SDK
  5. 15:19Docker Events
  6. 16:54Monitoring Docker
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.