feat: Initial example of how to automatically update images at the edge with no downtime and automatic rollbacks
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user