Python language-specific guide


Acknowledgment

This guide is a community contribution. Docker would like to thank Esteban Maya and Igor Aleksandrov for their contribution to this guide.

The Python language-specific guide teaches you how to containerize a Python application using Docker. In this guide, you’ll learn how to:

  • Containerize and run a Python application
  • Set up a local environment to develop a Python application using containers
  • Lint, format, typing and best practices
  • Configure a CI/CD pipeline for a containerized Python application using GitHub Actions
  • Deploy your containerized Python application locally to Kubernetes to test and debug your deployment

Start by containerizing an existing Python application.

Modules

  1. Containerize your app

    Learn how to containerize a Python application.

  2. Develop your app

    Learn how to develop your Python application locally.

  3. Linting and typing

    Learn how to set up linting, formatting and type checking for your Python application.

  4. Automate your builds with GitHub Actions

    Learn how to configure CI/CD using GitHub Actions for your Python application.

  5. Test your deployment

    Learn how to develop locally using Kubernetes