From e0c4bfdf2fd53e551aa49637631507d04dd4b08c Mon Sep 17 00:00:00 2001
From: Morris Richman <81453549+Mcrich23@users.noreply.github.com>
Date: Wed, 22 Oct 2025 11:40:35 -0700
Subject: [PATCH 1/2] Run fixes
---
.../xcschemes/Container-Compose.xcscheme | 20 +++++++++++++++++--
.../Commands/ComposeDown.swift | 2 +-
Sources/ContainerComposeApp/application.swift | 18 +++++++++++++++++
Sources/ContainerComposeApp/main.swift | 10 ----------
4 files changed, 37 insertions(+), 13 deletions(-)
create mode 100644 Sources/ContainerComposeApp/application.swift
delete mode 100644 Sources/ContainerComposeApp/main.swift
diff --git a/.swiftpm/xcode/xcshareddata/xcschemes/Container-Compose.xcscheme b/.swiftpm/xcode/xcshareddata/xcschemes/Container-Compose.xcscheme
index 5c62f9a..4ded24c 100644
--- a/.swiftpm/xcode/xcshareddata/xcschemes/Container-Compose.xcscheme
+++ b/.swiftpm/xcode/xcshareddata/xcschemes/Container-Compose.xcscheme
@@ -29,6 +29,18 @@
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
+
+
+
+
+
+
+
+
+ isEnabled = "NO">
+ isEnabled = "YES">
Date: Wed, 22 Oct 2025 11:52:41 -0700
Subject: [PATCH 2/2] container shutdown logging fixes
---
Sources/Container-Compose/Commands/ComposeDown.swift | 2 ++
Sources/Container-Compose/Commands/ComposeUp.swift | 2 ++
2 files changed, 4 insertions(+)
diff --git a/Sources/Container-Compose/Commands/ComposeDown.swift b/Sources/Container-Compose/Commands/ComposeDown.swift
index 7aa752c..000b41c 100644
--- a/Sources/Container-Compose/Commands/ComposeDown.swift
+++ b/Sources/Container-Compose/Commands/ComposeDown.swift
@@ -117,11 +117,13 @@ public struct ComposeDown: AsyncParsableCommand {
do {
try await container.stop()
} catch {
+ print("Error Stopping Container: \(error)")
}
if remove {
do {
try await container.delete()
} catch {
+ print("Error Removing Container: \(error)")
}
}
}
diff --git a/Sources/Container-Compose/Commands/ComposeUp.swift b/Sources/Container-Compose/Commands/ComposeUp.swift
index ecd066e..74ba194 100644
--- a/Sources/Container-Compose/Commands/ComposeUp.swift
+++ b/Sources/Container-Compose/Commands/ComposeUp.swift
@@ -231,11 +231,13 @@ public struct ComposeUp: AsyncParsableCommand, @unchecked Sendable {
do {
try await container.stop()
} catch {
+ print("Error Stopping Container: \(error)")
}
if remove {
do {
try await container.delete()
} catch {
+ print("Error Removing Container: \(error)")
}
}
}