1
0
mirror of https://github.com/docker/docs.git synced 2026-10-23 18:09:02 +03:00

docs: explain missing-secret failures in cleanup scripts

Automation guidance did not cover secret removals that match no stored entry. Explain the nonzero result and checking for matching secrets before cleanup.
This commit is contained in:
David Karlsson
2026-10-20 08:10:52 +00:00
parent 63b70a9b36
commit d4dee0f031

View File

@@ -66,7 +66,8 @@ script.
For repeatable cleanup, check which resources exist before removing them. For
example, use `sbx mcp ls` before `sbx mcp rm`, which fails for an unregistered
server even with `--force`.
server even with `--force`. Likewise, `sbx secret rm` fails if no secret matches
the selector; check for matches with `sbx secret ls` before removing secrets.
## Parse command output