no-mistakes(review): fix docker rollback command to pin digest then compose up
This commit is contained in:
@@ -148,8 +148,9 @@ If ANY service in Phase 4 fails to come back up (or regresses vs baseline):
|
|||||||
```bash
|
```bash
|
||||||
# Restore from recorded image-baseline digest
|
# Restore from recorded image-baseline digest
|
||||||
docker compose down
|
docker compose down
|
||||||
docker compose pull <previous_digest> # or set image: <digest> in compose and up -d
|
# Pin the service image to the recorded digest in compose, then recreate
|
||||||
docker compose up -d
|
# 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`).
|
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>/`.
|
3. **Config rollback** — restore configs from `/tmp/infra-maintenance-backup-<date>/`.
|
||||||
|
|||||||
Reference in New Issue
Block a user