Skip to content
Docs Try Aspire

ContainerTargetPlatform

Enum net8.0
📦 Aspire.Hosting v13.2.0
Specifies the target platform for container images.
namespace Aspire.Hosting.Publishing;
public enum ContainerTargetPlatform

[Flags] Values can be combined with bitwise OR.

LinuxAmd64 = 10x1
Linux AMD64 (linux/amd64).
LinuxArm64 = 20x2
Linux ARM64 (linux/arm64).
LinuxArm = 40x4
Linux ARM (linux/arm).
Linux386 = 80x8
Linux 386 (linux/386).
WindowsAmd64 = 160x10
Windows AMD64 (windows/amd64).
WindowsArm64 = 320x20
Windows ARM64 (windows/arm64).
AllLinux = 30x3
All Linux platforms (AMD64 and ARM64).