~/talk

Docker Dos And Do Nots

Talkat Jfokus 2022 · 2022-05-02..05-04· [devops-and-delivery]
slides:none on file

Covers ten concrete Dockerfile mistakes with fixes: avoid shipping your entire build context (the stray COPY . that sends the git dir), always use a .dockerignore, pin and control base images (a private contractor’s base image disappeared), prefer a private registry or Artifactory, and use multi-stage builds to keep build tools out of runtime images. Do not hardcode secrets or config, don’t curl unknown scripts, and don’t run processes as root — Systig sees 3 million containers and 76% run as root, so fix users and versions.

AI-written summary · about

  1. 0:00Introduction and background
  2. 2:22Docker fundamentals
  3. 5:27Understanding docker ignore
  4. 9:12Managing base images
  5. 12:42Defining versioning
  6. 19:24Maintenance and updates
  7. 22:57Optimizing build tools
  8. 25:52External resource management
  9. 28:55Handling secrets and config
  10. 35:55Docker file simplicity
  11. 39:00Caching strategies
  12. 42:30Running without root
  13. 50:15Q&A and closing remarks
~/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.