A free, open, self-hosted app platform (GNU AGPLv3): one-click app deploys, Traefik reverse proxy with automatic SSL, rootless Docker support, gluetun VPN routing, and a web dashboard to manage it all. Free & open forever to self-host; optional paid hosted services fund it. See PROMISE.md. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Signed-off-by: librelad <librelad@digitalangels.vip>
60 lines
1.0 KiB
Bash
Executable File
60 lines
1.0 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
dockerToolsMenu()
|
|
{
|
|
# Enable input
|
|
stty echo
|
|
|
|
while true; do
|
|
isHeader "Docker Management Menu"
|
|
isOption "1. Containers - Start/Restart"
|
|
isOption "2. Containers - Stop all"
|
|
isOption "3. Containers - Shutdown all (Root)"
|
|
isOption "4. Containers - Shutdown all (Rootless)"
|
|
isOption "5. Docker - Install Root"
|
|
isOption "6. Docker - Install Rootless"
|
|
isOption "7. Docker - Shutdown Root"
|
|
isOption "8. Docker - Shutdown Rootless"
|
|
isOption "x. Exit to Main Menu"
|
|
echo ""
|
|
isQuestion "What is your choice: "
|
|
read -rp "" docker_menu_choice
|
|
|
|
case $docker_menu_choice in
|
|
1)
|
|
toolrestartcontainers=y
|
|
startOther;
|
|
;;
|
|
2)
|
|
toolstopcontainers=y
|
|
startOther;
|
|
;;
|
|
3)
|
|
downAllDockerApps root;
|
|
;;
|
|
4)
|
|
downAllDockerApps rootless;
|
|
;;
|
|
5)
|
|
installDocker;
|
|
;;
|
|
6)
|
|
installDockerRootless;
|
|
;;
|
|
7)
|
|
stopDocker root;
|
|
;;
|
|
8)
|
|
stopDocker rootless;
|
|
;;
|
|
x)
|
|
endStart;
|
|
|
|
;;
|
|
*)
|
|
isNotice "Invalid choice. Please select a valid option."
|
|
;;
|
|
esac
|
|
done
|
|
}
|