<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/episode-298-reducing-the-size-of-python-docker-containers-the-real-python-podcast-lcrqxfswe" -->

---
title: Episode #298: Reducing the Size of Python Docker...
description: A Real Python Podcast episode covering how to reduce Python Docker container sizes using SlimToolKit, which analyzes runtime usage to build minimal images....
canonical: https://daily.dev/posts/episode-298-reducing-the-size-of-python-docker-containers-the-real-python-podcast-lcrqxfswe
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Episode #298: Reducing the Size of Python Docker Containers – The Real Python Podcast | daily.dev
og:description: A Real Python Podcast episode covering how to reduce Python Docker container sizes using SlimToolKit, which analyzes runtime usage to build minimal images....
og:url: https://daily.dev/posts/episode-298-reducing-the-size-of-python-docker-containers-the-real-python-podcast-lcrqxfswe
og:image: https://api.daily.dev/og/posts/LCRQxfsWe.png
og:image:alt: Episode #298: Reducing the Size of Python Docker Containers – The Real Python Podcast
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Episode #298: Reducing the Size of Python Docker Containers – The Real Python Podcast

**[Real Python](https://daily.dev/sources/rpython)** · 4 min read · 1 upvotes · 0 comments

## Summary

A Real Python Podcast episode covering how to reduce Python Docker container sizes using SlimToolKit, which analyzes runtime usage to build minimal images. Also discusses Python exception handling strategies, Django 6.1 Alpha 1, Nuitka 4.1 compiler release, two deferred PEPs (813 and 830), a critical vulnerability in an open-source ASGI framework affecting AI agents, lazy import resolution in Python 3.15, a PII anonymization tool (presidio), and a Django TOML settings loader.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://realpython.com/podcasts/rpp/298>

## Similar posts on daily.dev

- [Episode \#265: Python App Hosting Choices & Documenting Python's History – The Real Python Podcast](https://daily.dev/posts/episode-265-python-app-hosting-choices-documenting-python-s-history-the-real-python-podcast-qeq1tzmya) · Real Python · 2 upvotes · 0 comments
- [Talk Python in Production](https://daily.dev/posts/talk-python-in-production-dqbldw66n) · Planet Python · 0 upvotes · 0 comments
- [Episode \#300: Maintaining Your Python Developer Instincts While Using LLM Tools – The Real Python Podcast](https://daily.dev/posts/episode-300-maintaining-your-python-developer-instincts-while-using-llm-tools-the-real-python-po-txgzcnbga) · Real Python · 0 upvotes · 0 comments
- [Episode \#301: Running Python Locally in a Sandbox – The Real Python Podcast](https://daily.dev/posts/episode-301-running-python-locally-in-a-sandbox-the-real-python-podcast-k0ssanfps) · Real Python · 0 upvotes · 0 comments
- [Episode \#272: Michael Kennedy: Managing Your Own Python Infrastructure – The Real Python Podcast](https://daily.dev/posts/episode-272-michael-kennedy-managing-your-own-python-infrastructure-the-real-python-podcast-i51meh2f7) · Real Python · 0 upvotes · 0 comments

---

Tags: [#python](https://daily.dev/tags/python), [#docker](https://daily.dev/tags/docker), [#django](https://daily.dev/tags/django)

[View this post on daily.dev](https://daily.dev/posts/episode-298-reducing-the-size-of-python-docker-containers-the-real-python-podcast-lcrqxfswe)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Episode #298: Reducing the Size of Python Docker Containers – The Real Python Podcast","url":"https://daily.dev/posts/episode-298-reducing-the-size-of-python-docker-containers-the-real-python-podcast-lcrqxfswe","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/episode-298-reducing-the-size-of-python-docker-containers-the-real-python-podcast-lcrqxfswe"},"datePublished":"2026-06-05T12:01:51.646Z","dateModified":"2026-06-05T12:02:18.731Z","description":"A Real Python Podcast episode covering how to reduce Python Docker container sizes using SlimToolKit, which analyzes runtime usage to build minimal images....","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c88d9db3658a0e8237ff04c1b21c87a4?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c88d9db3658a0e8237ff04c1b21c87a4?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Real Python","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Real Python","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/rpython","url":"https://daily.dev/sources/rpython"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/episode-298-reducing-the-size-of-python-docker-containers-the-real-python-podcast-lcrqxfswe","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"python,docker,django","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Real Python","item":"https://daily.dev/sources/rpython"},{"@type":"ListItem","position":3,"name":"Episode #298: Reducing the Size of Python Docker Containers – The Real Python Podcast"}]}
```

