feat: Initial example of how to automatically update images at the edge with no downtime and automatic rollbacks

This commit is contained in:
2025-02-21 18:13:36 -07:00
parent 7436774ccf
commit f2960bef3f
4 changed files with 173 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
services=$(docker stack services test-stack --format '{{.Name}}')
for service in $services; do
echo "Updating $service"
docker service update --force "$service"
done