Aspire.Hosting.Docker
9.3.0-preview.1.25265.20
Prefix Reserved
This version is out of support and is no longer maintained. Please upgrade to the latest version. See our support policy for details: https://aka.ms/dotnet/aspire/support
See the version list below for details.
dotnet add package Aspire.Hosting.Docker --version 9.3.0-preview.1.25265.20
NuGet\Install-Package Aspire.Hosting.Docker -Version 9.3.0-preview.1.25265.20
<PackageReference Include="Aspire.Hosting.Docker" Version="9.3.0-preview.1.25265.20" />
<PackageVersion Include="Aspire.Hosting.Docker" Version="9.3.0-preview.1.25265.20" />
<PackageReference Include="Aspire.Hosting.Docker" />
paket add Aspire.Hosting.Docker --version 9.3.0-preview.1.25265.20
#r "nuget: Aspire.Hosting.Docker, 9.3.0-preview.1.25265.20"
#:package Aspire.Hosting.Docker@9.3.0-preview.1.25265.20
#addin nuget:?package=Aspire.Hosting.Docker&version=9.3.0-preview.1.25265.20&prerelease
#tool nuget:?package=Aspire.Hosting.Docker&version=9.3.0-preview.1.25265.20&prerelease
Aspire.Hosting.Docker library
Provides publishing extensions to .NET Aspire for Docker Compose.
Getting started
Install the package
In your AppHost project, install the .NET 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
| Product | Versions 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. |
-
net8.0
- Aspire.Hosting (>= 9.3.0)
- AspNetCore.HealthChecks.Uris (>= 9.0.0)
- Google.Protobuf (>= 3.30.2)
- Grpc.AspNetCore (>= 2.71.0)
- Grpc.Net.ClientFactory (>= 2.71.0)
- Grpc.Tools (>= 2.72.0)
- Humanizer.Core (>= 2.14.1)
- JsonPatch.Net (>= 3.3.0)
- KubernetesClient (>= 16.0.7)
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 8.0.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.2)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 8.0.15)
- Microsoft.Extensions.Hosting (>= 8.0.1)
- Microsoft.Extensions.Hosting.Abstractions (>= 8.0.1)
- Microsoft.Extensions.Http (>= 8.0.1)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.3)
- Microsoft.Extensions.Options (>= 8.0.2)
- Microsoft.Extensions.Primitives (>= 8.0.0)
- Newtonsoft.Json (>= 13.0.3)
- Polly.Core (>= 8.5.2)
- StreamJsonRpc (>= 2.21.69)
- System.IO.Hashing (>= 9.0.4)
NuGet packages (4)
Showing the top 4 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 |
|
|
Sorvia.Aspire.Hosting.Dokploy
Aspire hosting integration for Dokploy — a self-hosted PaaS. Provides AddDokployEnvironment() to deploy Aspire resources to a Dokploy instance via Docker Compose generation and the Dokploy REST API. |
GitHub repositories (10)
Showing the top 10 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
Browse the sample apps demonstrating Aspire integration across C#, JavaScript, TypeScript, Python, Go, containers, databases, cloud, AI, and observability scenarios.
|
|
|
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.
|
|
|
NexusForever/NexusForever
An emulator for the defunct MMORPG WildStar which supports build 16042 (Final Patch)
|
|
|
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.
|
|
|
suxrobGM/logistics-app
AI-powered fleet management platform with an agentic dispatcher that autonomously matches loads to trucks, ensures HOS compliance, and optimizes routes. Built for trucking companies.
|
|
|
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.
|
|
|
PacktPublishing/Pragmatic-Microservices-with-CSharp-and-Azure
Pragmatic Microservices with C# and Azure, published by Packt
|
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 13.4.3 | 0 | 6/8/2026 | |
| 13.4.2 | 2,461 | 6/3/2026 | |
| 13.4.1 | 154 | 6/3/2026 | |
| 13.4.0 | 2,767 | 6/1/2026 | |
| 13.3.5 | 9,985 | 5/21/2026 | |
| 13.3.4 | 1,214 | 5/19/2026 | |
| 13.3.3 | 4,720 | 5/15/2026 | |
| 13.3.2 | 4,045 | 5/14/2026 | |
| 13.3.1 | 3,611 | 5/12/2026 | |
| 13.3.0 | 7,999 | 5/7/2026 | |
| 13.2.4 | 17,798 | 4/24/2026 | |
| 13.2.3 | 8,594 | 4/21/2026 | |
| 13.2.2 | 15,032 | 4/8/2026 | |
| 13.2.1 | 19,949 | 3/31/2026 | |
| 13.2.0 | 17,901 | 3/23/2026 | |
| 13.1.3-preview.1.26166.8 | 3,154 | 3/19/2026 | |
| 13.1.2-preview.1.26125.13 | 19,826 | 2/26/2026 | |
| 13.1.1-preview.1.26105.8 | 11,620 | 2/11/2026 | |
| 13.1.0-preview.1.25616.3 | 77,368 | 12/17/2025 | |
| 9.3.0-preview.1.25265.20 | 15,334 | 5/19/2025 |