Prepare for public release

This commit is contained in:
2023-02-08 13:46:00 -06:00
commit de73b968bc
15 changed files with 250 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
#set -ex
SSH_USER=$(whoami)
SWARM_MANAGER_IP=$(docker node inspect self --format '{{ .Status.Addr }}')
HOSTS=$(docker node ls --format="{{ .Hostname }}")
echo
for HOSTNAME in ${HOSTS}; do
echo "Processing system prune operation for host: ${HOSTNAME}..."
ssh "${SSH_USER}@${HOSTNAME}.$(hostname -d)" 'docker system prune -f';
echo
done