2025-11-26 16:40:01 -06:00
|
|
|
#!/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() {
|
2026-01-05 13:00:35 -06:00
|
|
|
SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
2025-11-26 16:40:01 -06:00
|
|
|
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
|
2026-01-05 13:00:35 -06:00
|
|
|
podman machine set --memory 4096
|
|
|
|
|
# podman machine set --cpus 2 --memory 4096
|
2025-11-26 16:40:01 -06:00
|
|
|
podman machine start
|
|
|
|
|
}
|
|
|
|
|
main $@;
|
|
|
|
|
|