---
title: "Containers with Pulumi"
description: "Package and run applications in Docker containers. Tutorials, templates, examples, blog posts, and workshops for Containers with Pulumi."
url: "https://www.pulumi.com/dev/tag/containers/"
image: "https://www.pulumi.com/assets/og/dev/tag/containers.png"
---

# Containers with Pulumi

Package and run applications in Docker containers. Tutorials, templates, examples, blog posts, and workshops for Containers with Pulumi.

## Tutorials

- [Pulumi Fundamentals](https://www.pulumi.com/dev/tutorials/pulumi-fundamentals/): Learn how to use Pulumi to build, configure, and deploy a real-world application. — TypeScript, Python, YAML
- [Build and push container images to Amazon ECR](https://www.pulumi.com/dev/tutorials/aws-ecr.md): Provision ECR repositories, build and publish images, and manage lifecycle policies with AWSx. — AWS · TypeScript, Python, Go, .NET, Java, YAML
- [Deploy a Stateless Application on Kubernetes](https://www.pulumi.com/dev/tutorials/stateless-app.md): Run and update a stateless Nginx application on Kubernetes using a Deployment object with Pulumi. — Kubernetes · TypeScript
- [Deploy containerized applications to Amazon ECS](https://www.pulumi.com/dev/tutorials/aws-ecs.md): Load-balanced Fargate services, custom VPC networking, and automatic container image builds with AWSx. — AWS · TypeScript, Python, Go, .NET, Java, YAML
- [Deploy the Kubernetes Guestbook App](https://www.pulumi.com/dev/tutorials/guestbook.md): Build and deploy the multi-tier Kubernetes Guestbook app with Redis and Nginx using Pulumi. — Kubernetes · TypeScript, Python, Go, .NET
- [Run Kubernetes on Amazon EKS](https://www.pulumi.com/dev/tutorials/aws-eks.md): Provision EKS clusters, node groups, and Kubernetes workloads — including Helm charts — with Pulumi. — AWS, Kubernetes · TypeScript, Python, Go, .NET, Java, YAML

## Templates

- [Container Service on AWS](https://www.pulumi.com/dev/templates/container-service/aws.md): Deploy a container service on AWS with Pulumi and Amazon ECS. — AWS · TypeScript, Python, Go, .NET, YAML, HCL · One-click deploy
- [Container Service on Azure](https://www.pulumi.com/dev/templates/container-service/azure.md): Deploy a container service on Azure with Pulumi and Azure Container Instances. — Azure · TypeScript, Python, Go, .NET, HCL · One-click deploy
- [Container Service on Google Cloud](https://www.pulumi.com/dev/templates/container-service/gcp.md): Deploy a container service on Google Cloud with Pulumi and Google Cloud Run. — Google Cloud · TypeScript, Python, Go, .NET, HCL · One-click deploy

## Examples

- [Easy container example](https://www.pulumi.com/dev/examples/aws-ts-containers.md): NGINX container example — AWS · TypeScript · One-click deploy
- [Deploy a container with a Docker Build image on AWS Fargate](https://www.pulumi.com/dev/examples/aws-ts-containers-dockerbuild.md): An example that builds a Docker image and deploys a container to AWS Fargate. — AWS · TypeScript · One-click deploy
- [Deploy a container with a DBC-built image on AWS Fargate](https://www.pulumi.com/dev/examples/aws-ts-containers-dockerbuildcloud.md): An example that builds a Docker image in DBC and deploys a container to AWS Fargate. — AWS · TypeScript · One-click deploy
- [Azure Container Apps](https://www.pulumi.com/dev/examples/azure-yaml-container-apps.md): Azure Container Apps example — Azure · YAML · One-click deploy
- [Docker multi-container example](https://www.pulumi.com/dev/examples/docker-cs-multi-container-app.md): Example python app using multiple docker containers — .NET · One-click deploy
- [Docker multi-container example](https://www.pulumi.com/dev/examples/docker-py-multi-container-app.md): Example python app using multiple docker containers — Python · One-click deploy
- [Docker multi-container example](https://www.pulumi.com/dev/examples/docker-ts-multi-container-app.md): Example typescript app using multiple docker containers — TypeScript · One-click deploy

## Blog Posts

- [Running Container Images in AWS Lambda](https://www.pulumi.com/blog/aws-lambda-container-support/): Deploy AWS Lambda functions as container images with Pulumi. Compares Lambda ZIP, containers, Fargate, and ECS with 2026 limits, pricing, and runnable code. — AWS
- [Build a Video Thumbnailer on AWS](https://www.pulumi.com/blog/build-a-video-thumbnailer-with-pulumi-using-lambdas-containers-and-infrastructure-on-aws/): Extracting a thumbnail from a video using a combination of Lambdas, containers, and connected data services and infrastructure. — AWS · JavaScript
- [Build and publish container images to any cloud with Infrastructure as Code](https://www.pulumi.com/blog/build-publish-containers-iac/): Go from Dockerfile to a fully running containerized service on your cloud of choice using infrastructure as code. — Kubernetes
- [Creating a Python AWS Application Using Flask and Redis](https://www.pulumi.com/blog/creating-a-python-aws-application-using-flask-and-redis/): A tutorial on how to create a Python AWS application using Flask, Redis, and Pulumi. — AWS · Python
- [Deploy Kubernetes and Applications with Go](https://www.pulumi.com/blog/deploy-kubernetes-and-apps-with-go/): Manage Kubernetes clusters and apps with Go using Pulumi's reusable components. — Kubernetes · Go
- [How to Deploy a Django Application to AWS](https://www.pulumi.com/blog/deploying-a-django-application-to-aws/): Learn how to deploy a secure Django app to AWS using Pulumi and Docker. This tutorial covers MySQL setup, Fargate deployment, and secret management. — AWS · Python
- [Deploying a PERN stack application to AWS](https://www.pulumi.com/blog/deploying-a-pern-stack-application-to-aws/): Creating and quickly deploying a PERN stack application to the cloud Using Pulumi — AWS · TypeScript
- [Deploying production-ready containers with Pulumi](https://www.pulumi.com/blog/deploying-production-ready-containers-with-pulumi/): This blog covers creating a container registry instance in ECR, creating task definitions in ECS, and configuring a load balancer. — AWS · JavaScript
- [How to Use ECS Anywhere with Pulumi [Step-by-Step Guide]](https://www.pulumi.com/blog/ecs-anywhere-launch/): Learn how to set up and deploy containers with ECS Anywhere using Pulumi. Run workloads on any infrastructure while managing everything through AWS ECS. — AWS
- [Get Started with Docker on AWS Fargate using Pulumi](https://www.pulumi.com/blog/get-started-with-docker-on-aws-fargate-using-pulumi/): Using Pulumi to build a custom Docker image, publish it to a AWS container registry, and spin up an AWS Fargate load balanced service running that container. — AWS · JavaScript, TypeScript
- [Deploy Serverless Containers on Google Cloud Run with Pulumi](https://www.pulumi.com/blog/google-cloud-run-serverless-containers/): Learn how to deploy serverless containers on Google Cloud Run using Pulumi and Docker. Compare it to AWS Fargate and Azure for cost-effective scaling. — Google Cloud
- [How to Build a Container Registry](https://www.pulumi.com/blog/how-to-registries/): How to build a registry and push Docker images with code.
- [Managing AWS Containers with Pulumi](https://www.pulumi.com/blog/managing-containers-on-aws-with-pulumi/): Deploying containers on AWS, ECS, and EKS with Pulumi's infrastructure as code approach. — AWS
- [Migrating a cloud application to Kubernetes](https://www.pulumi.com/blog/migrating-a-cloud-application-to-kubernetes/): Using Pulumi to integrate applications with Kubernetes for on-demand scalability and freedom of design. — AWS, Kubernetes · TypeScript
- [Program the Cloud with 12 Pulumi Pearls](https://www.pulumi.com/blog/program-the-cloud-with-12-pulumi-pearls/): In this post, we'll look at some fun ways you can program the cloud using Pulumi, including infrastructure, serverless, containers, and general tips and tricks. — AWS · TypeScript
- [Pulumi and Docker: Development to Production](https://www.pulumi.com/blog/pulumi-and-docker-development-to-production/): Use Pulumi's infrastructure as software capability to define your Docker resources without running YAML or Docker Compose. — Kubernetes
- [Run Your Own RSS Server on AWS with Pulumi](https://www.pulumi.com/blog/run-your-own-rss-server/): In this post, I'll demonstrate how easy it is to build and deploy a Miniflux RSS service on AWS with Pulumi. — AWS
- [Switching the application stack from PERN to MERN](https://www.pulumi.com/blog/switching-the-application-stack-from-pern-to-mern/): Demonstrating the simplicity, modularity, and reusability of running an application on Kubernetes using Pulumi. — AWS, Kubernetes · TypeScript
- [Build a Pulumi VS Code Devcontainer Environment](https://www.pulumi.com/blog/vscode-devcontainers/): Build a VS Code devcontainer for Pulumi infrastructure as code projects.

## Workshops

- [Building with Containers on Azure](https://www.pulumi.com/events/building-containers-azure/): Explore more about building up a containerized microservices architecture on Azure using infrastructure as code and cloud engineering principles. — Azure · Go
- [Enabling Platform Workflows with Pulumi and Docker](https://www.pulumi.com/events/enabling-platform-workflows-with-pulumi-and-docker/): Learn how Pulumi and Docker Build Cloud can enable teams to deliver containerized workloads faster than ever. — AWS · TypeScript
