Modify the method to delete volumes to consider compose configuration

This commit is contained in:
Bastian Thiede
2024-05-04 19:40:46 +02:00
committed by GitHub
parent 622fc581f9
commit 4eb60fa019

View File

@@ -3,8 +3,7 @@
run_cleanup() {
heading "Stopping containers and removing volumes"
ob_compose down
$docker_path volume rm $($docker_path volume ls -q) # &> /dev/null
ob_compose down --volumes
success "Finished cleanup."
exit 0
}