Limit mount point scope; damonized start; separated clean vs reset

This commit is contained in:
2025-11-26 16:40:01 -06:00
parent 51a0c4a677
commit 315de5d1f7
4 changed files with 37 additions and 8 deletions

26
Docker/scripts/reset.sh Executable file
View File

@@ -0,0 +1,26 @@
#!/bin/bash
# . CONFIG.sh
# set -o xtrace ## To debug scripts
# set -o errexit ## To exit on error
# set -o errunset ## To exit if a variable is referenced but not set
function main() {
SCRIPTPATH="$( cd "$(dirname "")" >/dev/null 2>&1 ; pwd -P )"
cd "${SCRIPTPATH}"
echo "Working Dir: " $(pwd)
podman container prune
podman image prune
podman volume prune
podman network prune
podman machine stop
podman machine reset
podman machine init
podman machine start
}
main $@;