From ad31a985ea95d96cc0f8e0a58e3c5fdc87207a44 Mon Sep 17 00:00:00 2001 From: Jake Turner Date: Wed, 18 Feb 2026 20:01:46 +0000 Subject: [PATCH] ops: fix uninstall script to remove network and updater volume --- install/uninstall_nomad.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/install/uninstall_nomad.sh b/install/uninstall_nomad.sh index 196d2f9..7db9fac 100644 --- a/install/uninstall_nomad.sh +++ b/install/uninstall_nomad.sh @@ -110,6 +110,14 @@ uninstall_nomad() { echo "Containers should be stopped now." + # Remove the shared Docker network (may still exist if app containers were using it during compose down) + echo "Removing project-nomad_default network if it exists..." + docker network rm project-nomad_default 2>/dev/null && echo "Network removed." || echo "Network already removed or not found." + + # Remove the shared update volume + echo "Removing project-nomad_nomad-update-shared volume if it exists..." + docker volume rm project-nomad_nomad-update-shared 2>/dev/null && echo "Volume removed." || echo "Volume already removed or not found." + # Try to stop the collect-disk-info script if it's running try_remove_disk_info_script