~/talk

Docker as a replacement for virtualenv

Talkat PyOhio 2016 · 2016-07-30..07-31· [python, devops-and-delivery]
links:none on file
slides:none on file

Claims Docker can replace virtualenv/pyenv for most workflows by shipping full, immutable environments built from Docker images rather than mutable host venvs. Uses official Python images, Dockerfile layer ordering and Dockerfile layer caching to install requirements, compile C extensions with gcc then remove build tools, and expose Flask on port 5000 via port mapping. Compares VM ~2 GB to container ~600 MB, slim ~100MB, Alpine 18MB, and demonstrates the container runs and serves reliably.

AI-written summary · about

  1. 0:00Introduction
  2. 0:53Environment management
  3. 2:57Limitations of virtualenvs
  4. 5:10Vagrant vs Docker
  5. 6:21Advantages of containers
  6. 9:11Docker demo
  7. 13:33Creating a Dockerfile
  8. 17:14Networking and wrapping up
~/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.