[docs-scanner] Sandboxes API tutorial mentions client.get() without showing how to use it
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 88/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- documentation
Research direction
Start in content/manuals/ai/sandboxes-api/get-started.md and review the existing client.kits.launchAndWait() and sandbox.delete() examples. Add a brief recovery example for client.get(name), or link to cookbook/find-a-process-you-lost-track-of.md with specific recovery guidance. Done means first-time readers can identify the sandbox name, retrieve it, and clean it up.
Written by the indexing model from the issue text.
Description
File: content/manuals/ai/sandboxes-api/get-started.md
Issue
The tutorial tells readers what to do if the program stops unexpectedly, but doesn't show them how:
If the program stops after printing the sandbox name, retrieve the sandbox with
client.get(name)and delete it when you're finished.
This is the only mention of client.get() in the tutorial, and there's no example of how to use it. The tutorial shows client.kits.launchAndWait() and sandbox.delete(), but never demonstrates retrieval.
Why this matters
A reader following the tutorial who encounters this failure scenario won't know:
- What to import or how to call
client.get(name) - What the
nameparameter should be (the fullsandboxes/<uid>string?) - What to do with the returned object
- Whether they need to check the sandbox state before deleting
The tutorial is aimed at first-time users ("Run your first cloud sandbox"), so they can't be expected to infer the API from this brief mention.
Suggested fix
Add a brief code example showing recovery, either inline or in a collapsed section:
// If the program stopped, retrieve and clean up:
const existing = await client.get('sandboxes/<uid>');
const latest = await existing.refresh();
await latest.delete({ force: true });
Or reference the cookbook with a specific example: "See Find a process you lost track of for recovery steps."
Found by nightly documentation quality scanner
- Dominant language
- Markdown
- Stars
- 4.7k
- Forks
- 8.5k
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 120
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from docker/docs
-
[docs-scanner] Container proxy table misleadingly presents nested properties as separate parametersPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
[docs-scanner] Conflicting WSL version requirements between ECI pagesPossibly taken @dave123981 claimed this 1 day ago. Open
Difficulty 1/5 1-3 hours Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
status/triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
status/triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
Similar issues
-
Clarify Javadoc for Logger methods taking Object... arguments with regards to Throwable detectionOpen
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
521xueweihan/HelloGitHub#3855 ·
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
rai-opensource/spatialmath-python#235 ·
Maintainers usually reply within 1 day
-
bug connectors operations
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
pyinfra-dev/pyinfra#1989 ·
Maintainers usually reply within 3 days
-
skills.mdx: ReadResourceDirectoryRequest does not type-check against the 2026-07-28 base schemaOpen
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
modelcontextprotocol/ext-skills#156 ·
Maintainers usually reply within 1 day