Docker & Deployment
Containerise Python apps with Docker, orchestrate multi-service stacks with Docker Compose, write GitHub Actions CI/CD pipelines, and deploy to the cloud.
What you'll learn
Docker & Deployment is organized into 5 focused modules. By the end you'll be comfortable with:
- Docker Fundamentals
- Dockerising Python Apps
- Docker Compose
- CI/CD with GitHub Actions
- Cloud Deployment
Course curriculum
17 lessons across 5 modules. Lessons marked Free preview are readable without an account.
Module 1. Docker Fundamentals
Understand why containers exist, how Docker works, and run your first container.
- 8mWhy Containers?Free preview
Understand the problem containers solve and why Docker became the industry standard.
- 10mInstalling Docker & First ContainerFree preview
Install Docker and run your first container from the command line.
- 12mDockerfile Basics
Write a Dockerfile to package your own application as a Docker image.
- 8mDocker Images & the .dockerignore File
Understand image layers, image size best practices, and how to exclude files from your build.
Module 2. Dockerising Python Apps
Write production-ready Dockerfiles for FastAPI apps and manage runtime configuration.
- 12mProduction Dockerfile for FastAPI
Write a production-grade Dockerfile for a FastAPI application with non-root user and health checks.
- 10mEnvironment Variables in Docker
Pass configuration to containers at runtime using environment variables — never bake secrets into images.
- 10mMulti-Stage Builds
Use multi-stage builds to create small, secure production images by separating build and runtime dependencies.
- 8mDocker Volumes & Persistent Data
Understand how volumes solve the problem of data loss when containers restart.
Module 3. Docker Compose
Orchestrate multi-service applications with Docker Compose — API, database, and cache running together.
- 12mDocker Compose Basics
Learn the docker-compose.yml format and run a multi-service application with a single command.
- 10mCompose Overrides: Dev vs Production
Use multiple Compose files to maintain separate development and production configurations without duplication.
- 12mFull Stack with Compose: API + DB + Redis
Build a complete docker-compose.yml that wires together FastAPI, PostgreSQL, and Redis.
Module 4. CI/CD with GitHub Actions
Automate testing, building, and deploying your Docker app with GitHub Actions pipelines.
- 12mGitHub Actions: CI Pipeline Basics
Understand GitHub Actions concepts and write your first CI workflow that runs tests on every push.
- 12mBuild & Push Docker Images in CI
Automatically build your Docker image and push it to a registry on every merge to main.
- 12mDeploy on Merge: SSH Deployment
Automatically pull the new Docker image and restart your service when code merges to main.
Module 5. Cloud Deployment
Deploy your Dockerised app to a cloud VPS with a reverse proxy, TLS, and production configuration.
- 8mCloud Deployment Options
Compare cloud deployment strategies and choose the right one for your project stage.
- 15mVPS Setup: Nginx Reverse Proxy & TLS
Set up a production VPS with Nginx as a reverse proxy and Let's Encrypt TLS certificates.
- 10mProduction Deployment Checklist
Review the essential checklist before declaring your app production-ready.
Frequently asked questions
- Is the Docker & Deployment course free?
- You can preview lessons for free with no account. Full access to this Pro course is included with a Kodion Pro subscription.
- Do I need prior programming experience?
- This is a intermediate course, so you'll get the most from it if you're already comfortable with the basics of programming.
- How long does Docker & Deployment take to complete?
- It's 17 lessons across 5 modules, roughly 3 hours of hands-on learning. You can go entirely at your own pace.
- What will I learn?
- You'll work through Docker Fundamentals, Dockerising Python Apps, Docker Compose, and more, building real, applied skills through interactive lessons and coding challenges.
- Can I get help if I'm stuck?
- Yes. Kodion's built-in AI tutor gives instant, context-aware hints and explanations right inside each lesson as you code.
Ready to start Docker & Deployment?
Create a free account to track progress, earn XP, and get instant help from the AI tutor as you code.
Create your free account