File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,14 @@ uninstall_nomad() {
110110
111111 echo " Containers should be stopped now."
112112
113+ # Remove the shared Docker network (may still exist if app containers were using it during compose down)
114+ echo " Removing project-nomad_default network if it exists..."
115+ docker network rm project-nomad_default 2> /dev/null && echo " Network removed." || echo " Network already removed or not found."
116+
117+ # Remove the shared update volume
118+ echo " Removing project-nomad_nomad-update-shared volume if it exists..."
119+ docker volume rm project-nomad_nomad-update-shared 2> /dev/null && echo " Volume removed." || echo " Volume already removed or not found."
120+
113121 # Try to stop the collect-disk-info script if it's running
114122 try_remove_disk_info_script
115123
You can’t perform that action at this time.
0 commit comments