no-mistakes(review): fix docker rollback command to pin digest then compose up

This commit is contained in:
root
2026-07-18 22:07:15 +00:00
parent 1d027f71f6
commit a68879e904
+3 -2
View File
@@ -148,8 +148,9 @@ If ANY service in Phase 4 fails to come back up (or regresses vs baseline):
```bash
# Restore from recorded image-baseline digest
docker compose down
docker compose pull <previous_digest> # or set image: <digest> in compose and up -d
docker compose up -d
# Pin the service image to the recorded digest in compose, then recreate
# image: <name>@sha256:<previous_digest>
docker compose pull && docker compose up -d
```
2. **APT rollback** — restore the primary host from the Proxmox snapshot taken/confirmed in Phase 0. If no snapshot, `apt install <pkg>=<old_version>` per package using apt history (`/var/log/apt/history.log`).
3. **Config rollback** — restore configs from `/tmp/infra-maintenance-backup-<date>/`.