From 6cb43fcaa31ed860f1ceb6969c21728611217507 Mon Sep 17 00:00:00 2001 From: CyberL1 Date: Sat, 14 Dec 2024 14:06:30 +0100 Subject: [PATCH] fix: force delete server container on realm deletion --- Minecraft-Realms-Emulator/Modes/Realms/Helpers/DockerHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Minecraft-Realms-Emulator/Modes/Realms/Helpers/DockerHelper.cs b/Minecraft-Realms-Emulator/Modes/Realms/Helpers/DockerHelper.cs index b70233f..19b29d6 100644 --- a/Minecraft-Realms-Emulator/Modes/Realms/Helpers/DockerHelper.cs +++ b/Minecraft-Realms-Emulator/Modes/Realms/Helpers/DockerHelper.cs @@ -68,7 +68,7 @@ namespace Minecraft_Realms_Emulator.Modes.Realms.Helpers ProcessStartInfo serverProcessInfo = new(); serverProcessInfo.FileName = "docker"; - serverProcessInfo.Arguments = $"container rm realm-server-{world.Id}"; + serverProcessInfo.Arguments = $"container rm -f realm-server-{world.Id}"; Process serverProcess = new(); serverProcess.StartInfo = serverProcessInfo;