Skip to main content
net8.0

Kubernetes publishing for .NET Aspire.

Published
Apr 10, 2025
1y ago
Total Downloads
791.4K
791,399

Deprecated Package Version

Reason: Other, Legacy

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/dotent/aspire/support

Install

dotnet add package Aspire.Hosting.Docker --version 9.2.0-preview.1.25209.2
ProductVersions
.NET
net8.0

README

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 Program.cs file of AppHost, register the publisher:

builder.AddPublisher<DockerComposePublisher>("docker-compose");
aspire publish -t docker-compose -o artifacts

Feedback & contributing

https://github.com/dotnet/aspire

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.NuGet marks this package as deprecated. Review the publisher's migration guidance before adopting it.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.The published metadata declares 23 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.