diff --git a/Sources/Container-Compose/Commands/ComposeUp.swift b/Sources/Container-Compose/Commands/ComposeUp.swift index ec3de016..b09bb94e 100644 --- a/Sources/Container-Compose/Commands/ComposeUp.swift +++ b/Sources/Container-Compose/Commands/ComposeUp.swift @@ -332,7 +332,7 @@ public struct ComposeUp: AsyncParsableCommand, @unchecked Sendable { } else if let img = service.image { // Use specified image if no build config // Pull image if necessary - try await pullImage(img, platform: service.container_name) + try await pullImage(img, platform: service.platform) imageToRun = img } else { // Should not happen due to Service init validation, but as a fallback