diff --git a/scripts/stop-containers.sh b/scripts/stop-containers.sh index fb7f474..6a83c87 100755 --- a/scripts/stop-containers.sh +++ b/scripts/stop-containers.sh @@ -21,13 +21,12 @@ fi load_build_env stx control stop || true - # Prune minikube's docker, then stop minikube's top-level container if [[ "$STX_PLATFORM" == "minikube" ]] ; then profile_args=() [[ -z "$MINIKUBENAME" ]] || profile_args+=("-p" "$MINIKUBENAME") if minikube "${profile_args[@]}" status >/dev/null ; then - minikube "${profile_args[@]}" ssh -- 'docker system prune -f' + minikube "${profile_args[@]}" ssh -- 'docker system prune --volumes --force' minikube "${profile_args[@]}" stop fi fi