Search⌘ K
AI Features

Docker Containers

Explore Docker containers to understand how they help deliver Python applications as isolated, maintainable components. This lesson covers containerization benefits including platform independence, streamlined deployment, and how containers support modular software architecture while aligning with separation of concerns principles.

We'll cover the following...

In this lesson, we take a look at a different technology that will also help us create components to deliver our code.

The term container refers to something completely different from a Python container (an object with a __contains__ method). A container is a process that runs in the operating system under a group with certain restrictions and isolation considerations. Concretely, we refer to Docker containers, which allow managing applications (services or processes) as independent components.

Use of containers

Containers represent another way of delivering software. Creating Python packages that take into account the considerations discussed in the previous section is more suitable for libraries or frameworks where the goal is to reuse code and take advantage of using a single place where ...