Aspire.Hosting.Docker
13.5.2
Prefix Reserved
See the version list below for details.
dotnet add package Aspire.Hosting.Docker --version 13.5.2
NuGet\Install-Package Aspire.Hosting.Docker -Version 13.5.2
<PackageReference Include="Aspire.Hosting.Docker" Version="13.5.2" />
<PackageVersion Include="Aspire.Hosting.Docker" Version="13.5.2" />
<PackageReference Include="Aspire.Hosting.Docker" />
paket add Aspire.Hosting.Docker --version 13.5.2
#r "nuget: Aspire.Hosting.Docker, 13.5.2"
#:package Aspire.Hosting.Docker@13.5.2
#addin nuget:?package=Aspire.Hosting.Docker&version=13.5.2
#tool nuget:?package=Aspire.Hosting.Docker&version=13.5.2
Docker hosting integration
Provides publishing extensions to Aspire for Docker Compose.
Getting started
Add the integration
From your AppHost directory, add the Aspire.Hosting.Docker integration with the Aspire CLI:
aspire add Aspire.Hosting.Docker
Usage example
In the AppHost, add the environment:
C#
builder.AddDockerComposeEnvironment("compose");
TypeScript
await builder.addDockerComposeEnvironment("compose");
aspire publish -o docker-compose-artifacts
Additional documentation
https://aspire.dev/integrations/gallery/ https://aspire.dev/integrations/compute/docker/
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 (>= 13.5.2)
- AspNetCore.HealthChecks.Uris (>= 9.0.0)
- Google.Protobuf (>= 3.34.1)
- Grpc.AspNetCore (>= 2.80.0)
- Grpc.Net.ClientFactory (>= 2.80.0)
- Grpc.Tools (>= 2.80.0)
- Humanizer.Core (>= 3.0.10)
- JsonPatch.Net (>= 5.0.2)
- KubernetesClient (>= 19.0.2)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.11)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.11)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 10.0.11)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.11)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 8.0.30)
- Microsoft.Extensions.FileSystemGlobbing (>= 10.0.11)
- Microsoft.Extensions.Hosting (>= 10.0.11)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.11)
- Microsoft.Extensions.Http (>= 10.0.11)
- Microsoft.Extensions.Logging (>= 10.0.11)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.11)
- Microsoft.Extensions.Options (>= 10.0.11)
- Microsoft.Extensions.Primitives (>= 10.0.11)
- ModelContextProtocol (>= 1.3.0)
- Newtonsoft.Json (>= 13.0.4)
- OpenTelemetry.Exporter.OpenTelemetryProtocol (>= 1.15.3)
- OpenTelemetry.Extensions.Hosting (>= 1.15.3)
- Polly.Core (>= 8.6.6)
- Semver (>= 3.0.0)
- StreamJsonRpc (>= 2.25.29)
- System.IO.Hashing (>= 10.0.8)
- System.Text.Json (>= 10.0.11)
- YamlDotNet (>= 16.3.0)
NuGet packages (18)
Showing the top 5 NuGet packages that depend on Aspire.Hosting.Docker:
| Package | Downloads |
|---|---|
|
Nextended.Aspire.Hosting.Supabase
This Library provides an Aspire Supabase solution |
|
|
Shirubasoft.Aspire.CloudflareTunnels
Cloudflare Tunnel and Quick Tunnel resources for Aspire AppHosts. |
|
|
CosmicChimps.Aspire.Hosting.Dokploy
Dokploy deployment integration for Aspire — deploys each Aspire service as an individual Dokploy application or native managed resource (Redis, PostgreSQL, MySQL, MariaDB, MongoDB). |
|
|
Nextended.Aspire.Hosting.N8n
This Library provides an Aspire n8n workflow automation solution |
|
|
Shirubasoft.Aspire.ModularAppHosts.Testing
Docker Compose deployment testing support for Shirubasoft Aspire Modular AppHosts. |
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, Wolverine, 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 10, Wolverine, Domain-Driven Design, CQRS, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.
|
|
|
evangelosvlachos96-dotcom/booking-microservices
Flight booking system built as .NET 10 microservices with Vertical Slice Architecture, DDD, CQRS, Event Sourcing, gRPC, RabbitMQ, Wolverine, PostgreSQL, MongoDB and .NET Aspire.
|
|
|
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, Wolverine, 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 matches loads to trucks, ensures HOS compliance, and optimizes routes. Built for trucking companies.
|
|
|
nightscout/nocturne
A next-generation platform for diabetes management
|
|
|
davidfowl/aspire-ssh-deploy
An extension of the docker compose integration for deploying to a docker host via SSH
|
| Version | Downloads | Last Updated |
|---|---|---|
| 13.6.1 | 5,589 | 10/7/2026 |
| 13.6.0 | 11,749 | 9/29/2026 |
| 13.5.4 | 28,055 | 9/15/2026 |
| 13.5.3 | 44,490 | 8/25/2026 |
| 13.5.2 | 9,518 | 8/21/2026 |
| 13.5.1 | 2,939 | 8/20/2026 |
| 13.5.0 | 11,577 | 8/18/2026 |
| 13.4.6 | 130,237 | 6/19/2026 |
| 13.4.5 | 14,133 | 6/17/2026 |
| 13.4.4 | 13,175 | 6/15/2026 |
| 13.4.3 | 14,453 | 6/8/2026 |
| 13.4.2 | 7,409 | 6/3/2026 |
| 13.4.1 | 911 | 6/3/2026 |
| 13.4.0 | 14,224 | 6/1/2026 |
| 13.3.5 | 22,231 | 5/21/2026 |
| 13.3.4 | 3,282 | 5/19/2026 |
| 13.3.3 | 6,811 | 5/15/2026 |
| 13.3.2 | 6,482 | 5/14/2026 |
| 13.3.1 | 16,550 | 5/12/2026 |
| 13.3.0 | 17,241 | 5/7/2026 |