Aspire.Hosting.Docker 13.2.2

Prefix Reserved
dotnet add package Aspire.Hosting.Docker --version 13.2.2
                    
NuGet\Install-Package Aspire.Hosting.Docker -Version 13.2.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Aspire.Hosting.Docker" Version="13.2.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Aspire.Hosting.Docker" Version="13.2.2" />
                    
Directory.Packages.props
<PackageReference Include="Aspire.Hosting.Docker" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Aspire.Hosting.Docker --version 13.2.2
                    
#r "nuget: Aspire.Hosting.Docker, 13.2.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Aspire.Hosting.Docker@13.2.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Aspire.Hosting.Docker&version=13.2.2
                    
Install as a Cake Addin
#tool nuget:?package=Aspire.Hosting.Docker&version=13.2.2
                    
Install as a Cake Tool

Aspire.Hosting.Docker library

Provides publishing extensions to Aspire for Docker Compose.

Getting started

Install the package

In your AppHost project, install the Aspire Docker Hosting library with NuGet:

dotnet add package Aspire.Hosting.Docker

Usage example

Then, in the AppHost.cs file of AppHost, add the environment:

builder.AddDockerComposeEnvironment("compose");
aspire publish -o docker-compose-artifacts

Feedback & contributing

https://github.com/microsoft/aspire

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Aspire.Hosting.Docker:

Package Downloads
Nextended.Aspire.Hosting.Supabase

This Library provides an Aspire Supabase solution

CosmicChimps.Aspire.Hosting.Dokploy

Dokploy deployment integration for .NET Aspire — deploys each Aspire service as an individual Dokploy application or native managed resource (Redis, PostgreSQL, MySQL, MariaDB, MongoDB).

Shiny.Aspire.Hosting.Gluetun

Package Description

GitHub repositories (7)

Showing the top 7 popular GitHub repositories that depend on Aspire.Hosting.Docker:

Repository Stars
meysamhadeli/booking-microservices
A practical microservices with the latest technologies and architectures like Vertical Slice Architecture, Event Sourcing, CQRS, DDD, gRpc, MongoDB, RabbitMq, Masstransit, and Aspire in .Net 10.
microsoft/aspire-samples
mehdihadeli/food-delivery-microservices
🍔 A practical and cloud-native food delivery microservices, built with .Net Aspire, .Net 9, MassTransit, Domain-Driven Design, CQRS, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.
meysamhadeli/booking-modular-monolith
A practical Modular Monolith architecture with the latest technologies and architecture like Vertical Slice Architecture, Event Driven Architecture, CQRS, DDD, gRpc, Masstransit, and Aspire in .Net 10.
davidfowl/aspire-ai-chat-demo
Aspire AI Chat is a full-stack chat sample that combines modern technologies to deliver a ChatGPT-like experience.
davidfowl/aspire-ssh-deploy
An extension of the docker compose integration for deploying to a docker host via SSH
petabridge/DrawTogether.NET
Multi-player MS Paint application. Built with Akka.NET, Blazor, and .NET Aspire.
Version Downloads Last Updated
13.2.2 2,216 4/8/2026
13.2.1 6,672 3/31/2026
13.2.0 9,670 3/23/2026
13.1.3-preview.1.26166.8 2,341 3/19/2026
13.1.2-preview.1.26125.13 16,655 2/26/2026
13.1.1-preview.1.26105.8 9,154 2/11/2026
13.1.0-preview.1.25616.3 62,346 12/17/2025
13.0.2-preview.1.25603.5 12,088 12/4/2025
13.0.1-preview.1.25575.3 9,784 11/26/2025 13.0.1-preview.1.25575.3 is deprecated because it is no longer maintained.
13.0.0-preview.1.25560.3 17,827 11/11/2025 13.0.0-preview.1.25560.3 is deprecated because it is no longer maintained.
9.5.2-preview.1.25522.3 28,937 10/23/2025 9.5.2-preview.1.25522.3 is deprecated because it is no longer maintained.
9.5.1-preview.1.25502.11 13,178 10/3/2025 9.5.1-preview.1.25502.11 is deprecated because it is no longer maintained.
9.5.0-preview.1.25474.7 7,250 9/25/2025 9.5.0-preview.1.25474.7 is deprecated because it is no longer maintained.
9.4.2-preview.1.25428.12 14,626 9/2/2025 9.4.2-preview.1.25428.12 is deprecated because it is no longer maintained.
9.4.1-preview.1.25408.4 8,154 8/12/2025 9.4.1-preview.1.25408.4 is deprecated because it is no longer maintained.
9.4.0-preview.1.25378.8 6,441 7/29/2025 9.4.0-preview.1.25378.8 is deprecated because it is no longer maintained.
9.3.1-preview.1.25305.6 30,275 6/10/2025 9.3.1-preview.1.25305.6 is deprecated because it is no longer maintained.
9.3.0-preview.1.25265.20 15,186 5/19/2025 9.3.0-preview.1.25265.20 is deprecated because it is no longer maintained.
9.2.1-preview.1.25222.1 5,692 4/24/2025 9.2.1-preview.1.25222.1 is deprecated because it is no longer maintained.
9.2.0-preview.1.25209.2 12,683 4/10/2025 9.2.0-preview.1.25209.2 is deprecated because it is no longer maintained.